社区应用 最新帖子 精华区 社区服务 会员列表 统计排行 社区论坛任务 迷你宠物
  • 3662阅读
  • 0回复

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ;UdM8+^/V]  
E0Wc8m"  
struts.action.extension T7[@ lMa?  
      The URL extension to use to determine if the request is meant for a Struts action O NabL.CV  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 T;w:^XW  
[,=?e  
struts.configuration }M07-qIX{  
      The org.apache.struts2.config.Configuration implementation class IwyA4Ak Ru  
        org.apache.struts2.config.Configuration接口名 b?~p/[  
|#Gxqq'  
struts.configuration.files -gn0@hS0  
      A list of configuration files automatically loaded by Struts v+ $3  
      struts自动加载的一个配置文件列表 }\a#e^-xQ+  
4I4m4^  
struts.configuration.xml.reload 6N/(cUXJ  
      Whether to reload the XML configuration or not M.}9)ho   
      是否加载xml配置(true,false) =G-OIu+H!U  
.:S/x{~  
struts.continuations.package fc#9e9R  
      The package containing actions that use Rife continuations {lI}a8DP  
      含有actions的完整连续的package名称 x9lA';})  
+){^HC\7h  
struts.custom.i18n.resources l+ }=D@l  
      Location of additional localization properties files to load f:;-ZkIU ?  
      加载附加的国际化属性文件(不包含.properties后缀) N_Us6 X  
G]lGoa}]`u  
struts.custom.properties &PMQ]B  
      Location of additional configuration properties files to load [gW eD  
      加载附加的配置文件的位置 :jiEn y  
kWzp*<lWe  
~ 'ZwD/!e  
struts.devMode dSDZMB sd  
      Whether Struts is in development mode or not u8f\)m  
      是否为struts开发模式 .UK0bxoa  
O&Y;/$w  
struts.dispatcher.parametersWorkaround WK%cbFq(  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic XYcZ;Z9:  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) I9?\Jbqg  
g]~vZj  
struts.enable.DynamicMethodInvocation v({O*OR  
      Allows one to disable dynamic method invocation from the URL @-@Coy 4Tt  
        允许动态方法调用 !6/UwPs  
{vu\qXmMv  
struts.freemarker.manager.classname @@Ib^sB%  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ?9 huuJ s7  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 (4H\ho8+mp  
SioeIXU  
struts.i18n.encoding J=A)]YE  
      The encoding to use for localization messages [S6u:;7  
      国际化信息内码 fUw:jE xz  
}?[];FB  
struts.i18n.reload gM96RY  
      Whether the localization messages should automatically be reloaded NaR} 0  
      是否国际化信息自动加载 |MNSIb&,W  
rto?*^N?  
struts.locale e@3SF  
      The default locale for the Struts application !LK xZ"  
      默认的国际化地区信息 {;$oC4  
jz!I +  
struts.mapper.class M5bE5C  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class jCqz^5=$  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 teok*'b:  
6[m~xegG  
struts.multipart.maxSize H/a gt  
      The maximize size of a multipart request (file upload) ^ :VH?I=  
      multipart请求信息的最大尺寸(文件上传用) C HnclT  
F^l1WX6  
struts.multipart.parser gT}H B.  
      The org.apache.struts2.dispatcher.multipart. &xGdKH  
      MultiPartRequest parser implementation for a multipart request (file upload) {B$CqsvJ  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) XIcUoKg^  
^".OMS"!  
:WB uU  
struts.multipart.saveDir '#Wx@  
      The directory to use for storing uploaded files V]zZb-m=  
      设置存储上传文件的目录夹 'sEnh<  
OZ`cE5"i  
struts.objectFactory E%w^q9C  
      The com.opensymphony.xwork2.ObjectFactory implementation class XoN~d  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ZU 3Psj  
<H-Nft>O  
struts.objectFactory.spring.autoWire "uH>S+%|b  
      Whether Spring should autoWire or not 4[lFur H  
      是否自动绑定Spring !2t7s96  
CCTU-Xz/  
struts.objectFactory.spring.useClassCache +\=g&G,  
      Whether Spring should use its class cache or not 1l-5H7^w2?  
      是否spring应该使用自身的cache -Y_, .'ex  
S,5ok0R  
struts.objectTypeDeterminer >a8iY|QY  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class [8QK @5[  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ;Gr {  
1I%u)[;>  
struts.serve.static.browserCache .fWy\ r0  
If static content served by the Struts filter should set browser caching header properties or not f:-)S8OJ  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 sH6;__e  
(.-4Jn  
struts.serve.static -XYvjW,|  
      Whether the Struts filter should serve static content or not D07M!U  
      是否struts过滤器应该提供静态内容 z:Am1B  
$>)0t@[f  
struts.tag.altSyntax 7. F'1oEf  
      Whether to use the alterative syntax for the tags or not +Tum K.  
      是否可以用替代的语法替代tags oN032o?S  
TgkVd]4%  
struts.ui.templateDir ^50dF:V(1  
      The directory containing UI templates TFXBN.?9T  
      UI templates的目录夹 x/,;:S  
12 p`ZD=  
struts.ui.theme \HGf!zZ  
      The default UI template theme R+LKa Z  
      默认的UI template主题 1Vpti4OmU  
NK|UeL7ght  
struts.url.http.port GxdAOiq;  
      The HTTP port used by Struts URLs &nEL}GM)E  
      设置http端口 fRS;6Jc  
# xtH6\X  
struts.url.https.port e:O,$R#g  
      The HTTPS port used by Struts URLs e)sR$]i:v  
      设置https端口 b 3x|Dq.  
Xs2}n^#i  
struts.url.includeParams oSCaP,P  
      The default includeParams method to generate Struts URLs )oIh?-WL  
      在url中产生 默认的includeParams v3r3$(Hr  
#eW T-m  
`n&:\Ib  
struts.velocity.configfile zQ,rw[C"W  
      The Velocity configuration file path 1Q@]b_"Xh  
      velocity配置文件路径 .UP h  
/8GdCac  
struts.velocity.contexts /1OCK=  
      List of Velocity context names .`Rt   
      velocity的context列表 z+MH co"  
D4VDWv  
y_m+&Oe  
struts.velocity.manager.classname aHN"I  
      org.apache.struts2.views.velocity.VelocityManager implementation class 8c5YX  
      org.apache.struts2.views.velocity.VelocityManager接口名 ]}3s/NJi  
\_Bj"K  
struts.velocity.toolboxlocation 9KVJk</:n  
      The location of the Velocity toolbox ]BO:*&O  
      velocity工具盒的位置 >.meecE?Q  
struts.xslt.nocache 33oW3vS  
      Whether or not XSLT templates should not be cached c}(H*VY2n  
      是否XSLT模版应该被缓存 01r%K@ xX\  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
10+5=?,请输入中文答案:十五