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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 *}ee"eHs  
^FM9} t/U,  
struts.action.extension ]H#Rm#q  
      The URL extension to use to determine if the request is meant for a Struts action s9kLB.  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 U?fN3  
H r^15  
struts.configuration )_*a7N!  
      The org.apache.struts2.config.Configuration implementation class \h7J/es^p!  
        org.apache.struts2.config.Configuration接口名 Mp"ci+Iu  
=+}}Sv2  
struts.configuration.files 2~WFLD  
      A list of configuration files automatically loaded by Struts _$\5ZVe  
      struts自动加载的一个配置文件列表 cJ##K/es  
b2X'AHK S  
struts.configuration.xml.reload P^3m:bE]  
      Whether to reload the XML configuration or not \1mM5r~  
      是否加载xml配置(true,false) -*hb^MvP  
R``V Q  
struts.continuations.package 9LO.8Jy  
      The package containing actions that use Rife continuations ]~00=nXFM/  
      含有actions的完整连续的package名称 Cxk$"_  
}SMJD  
struts.custom.i18n.resources cbCE $  
      Location of additional localization properties files to load NQ!N"C3u  
      加载附加的国际化属性文件(不包含.properties后缀) &lPBqw  
Kwl qi]~  
struts.custom.properties e*2&s5 #RT  
      Location of additional configuration properties files to load (Ef2 w[ '  
      加载附加的配置文件的位置 B_"OA3d_  
w}W@M,.^  
&O6;nJEI  
struts.devMode .aismc`=  
      Whether Struts is in development mode or not y|;8:b32  
      是否为struts开发模式 ?FV7|)f  
%rDmW?T  
struts.dispatcher.parametersWorkaround '+!S|U,{  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic oIvnF:c  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) lii ]4k+z  
x1:Pj  
struts.enable.DynamicMethodInvocation ))IgB).3M  
      Allows one to disable dynamic method invocation from the URL 7t-*L}~WA  
        允许动态方法调用 _Hd1sx  
sO6gIPU^  
struts.freemarker.manager.classname F7Dc!JNa  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class P10p<@?  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 E]H   
tC?A so  
struts.i18n.encoding 1(?CNW[  
      The encoding to use for localization messages }^pQbFku  
      国际化信息内码 n-y^ 7'v  
iijd $Tv  
struts.i18n.reload -?aw^du  
      Whether the localization messages should automatically be reloaded "zedbJ0  
      是否国际化信息自动加载 k>:/D  
HTUYvU*-  
struts.locale W7*_T]  
      The default locale for the Struts application 53`9^|:  
      默认的国际化地区信息 TDl!qp @  
!#c[~erNZ  
struts.mapper.class 1akD]Z  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class YMj7  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 )&Kn (l)  
kj{rk^x  
struts.multipart.maxSize TOco({/_/  
      The maximize size of a multipart request (file upload) 68p\WheCal  
      multipart请求信息的最大尺寸(文件上传用)  Qh|-a@  
u+z .J4w  
struts.multipart.parser Ufaqhh  
      The org.apache.struts2.dispatcher.multipart. 1o|0x\q  
      MultiPartRequest parser implementation for a multipart request (file upload) ''(fH$pY  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) v?YdLR  
e7XsyL'|p  
|D;"D  
struts.multipart.saveDir ZSF=  
      The directory to use for storing uploaded files Q(=Vk~v  
      设置存储上传文件的目录夹 8K@"B  
B:3+',i1  
struts.objectFactory xm}q6>jRV  
      The com.opensymphony.xwork2.ObjectFactory implementation class vbRrk($`  
      com.opensymphony.xwork2.ObjectFactory接口(spring) /$FXg;h9$  
4-]Do?  
struts.objectFactory.spring.autoWire -7-Fd_F8  
      Whether Spring should autoWire or not BrNG%%n  
      是否自动绑定Spring $Yx6#m}[M  
?AV&@EX2C  
struts.objectFactory.spring.useClassCache W>` g;[ W  
      Whether Spring should use its class cache or not <\1}@?NGC  
      是否spring应该使用自身的cache r^w\9a_  
6(N.T+;]  
struts.objectTypeDeterminer Gd30Be2gd  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ?418*tXd  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 C.yY8?|  
9UeVvH  
struts.serve.static.browserCache +Cn yK(V  
If static content served by the Struts filter should set browser caching header properties or not 1u"R=D9p,=  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 c&7Do}  
%rpR-}j  
struts.serve.static ]]p19[4s  
      Whether the Struts filter should serve static content or not ]z-']R;  
      是否struts过滤器应该提供静态内容 l zfD)TWb  
, @%C8Z  
struts.tag.altSyntax -H1"OJ2aF  
      Whether to use the alterative syntax for the tags or not &YT_#M  
      是否可以用替代的语法替代tags JqI6k6~Q^  
v!<PDw2'  
struts.ui.templateDir hmK8j l<6  
      The directory containing UI templates S|K |rDr0n  
      UI templates的目录夹 >]Mq)V9  
>AR Tr'B  
struts.ui.theme =cf{f]N  
      The default UI template theme LPEjRG,  
      默认的UI template主题 "n{9- VEmN  
c;c:Ea5  
struts.url.http.port *Rz{44LP&  
      The HTTP port used by Struts URLs ,U6*kvHS6  
      设置http端口 +M44XhT  
`pP9z;/Xq  
struts.url.https.port b@=z rhQ  
      The HTTPS port used by Struts URLs RH!SW2o<  
      设置https端口 gB(9vhj $  
Eyr5jXt%;  
struts.url.includeParams {E!$ xY8  
      The default includeParams method to generate Struts URLs _:wZmZU}  
      在url中产生 默认的includeParams uk`T+@K  
zc6H o  
!"g=&Uy&  
struts.velocity.configfile (bg}an  
      The Velocity configuration file path i Td-n9  
      velocity配置文件路径 qTyg~]e9(  
KK:N [x  
struts.velocity.contexts u$W Bc\ j  
      List of Velocity context names 7d3 'CQQ4  
      velocity的context列表 '"oo;`g7  
Z:I*y7V-  
]UK`?J=t2g  
struts.velocity.manager.classname ^F>4~68d  
      org.apache.struts2.views.velocity.VelocityManager implementation class !+m@AQ:,  
      org.apache.struts2.views.velocity.VelocityManager接口名 LWD.  
V-[2jC{  
struts.velocity.toolboxlocation ^ [ET&"  
      The location of the Velocity toolbox q&u$0XmV  
      velocity工具盒的位置  qovQ9O  
struts.xslt.nocache $ I#7dJ"*  
      Whether or not XSLT templates should not be cached `Jn,IDq  
      是否XSLT模版应该被缓存 M6# \na  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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