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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 >9F,=63A  
b.h~QyI/W  
struts.action.extension uwQ{y>SG  
      The URL extension to use to determine if the request is meant for a Struts action !li Q;R&  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 1;SW% \M  
*f.eyg#  
struts.configuration !y'LKze+G  
      The org.apache.struts2.config.Configuration implementation class 0 '~Jr\4  
        org.apache.struts2.config.Configuration接口名 6=90 wu3  
?;+=bKw0  
struts.configuration.files sL~TV([6/  
      A list of configuration files automatically loaded by Struts f`p`c*  
      struts自动加载的一个配置文件列表 3w ?)H  
c>!>D7:7  
struts.configuration.xml.reload >t'/(y  
      Whether to reload the XML configuration or not ]0xbvJ8oK  
      是否加载xml配置(true,false) [xk1}D  
@8|-  C  
struts.continuations.package 9Z6] ];8E  
      The package containing actions that use Rife continuations U{h5uezD  
      含有actions的完整连续的package名称 c%Yvj  
g {8>2OK$c  
struts.custom.i18n.resources <N=p_m 2T  
      Location of additional localization properties files to load C $aiOK-]+  
      加载附加的国际化属性文件(不包含.properties后缀) `HgT5}  
7&:gvhw   
struts.custom.properties Cq u/(=  
      Location of additional configuration properties files to load vC$[Zm  
      加载附加的配置文件的位置 QZ"Lh  
j3P)cz-0/L  
er,R}v  
struts.devMode "Hg.pDNZ  
      Whether Struts is in development mode or not :bW}*0b-  
      是否为struts开发模式 ]Tf.KUm  
mDvZ 1aj  
struts.dispatcher.parametersWorkaround KZ`d3ad  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic {_ww1'|A  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) WHvN6  
]$4k+)6  
struts.enable.DynamicMethodInvocation %K;,qS'N_  
      Allows one to disable dynamic method invocation from the URL "xa<Q%hk  
        允许动态方法调用 j?+FS`a!  
4bhm1Q  
struts.freemarker.manager.classname *r?g&Vw$m  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 4NQS'*%D  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 E4HG`_cWb  
u\ytiGO*  
struts.i18n.encoding t=~al8  
      The encoding to use for localization messages J Q%e'  
      国际化信息内码 V(=~p[  
N/8qd_:8  
struts.i18n.reload 2 Nr j@q  
      Whether the localization messages should automatically be reloaded Z%N{Y x(  
      是否国际化信息自动加载 G!8O*4+A  
IpoZ6DB$  
struts.locale |Ag~k? QC  
      The default locale for the Struts application 7sC$hm]  
      默认的国际化地区信息 O=MO M  
be$wG O=Ts  
struts.mapper.class E3_e~yu&  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 6*S|$lo9B  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ^uMy|d  
9 vmH$  
struts.multipart.maxSize uz&CUvos  
      The maximize size of a multipart request (file upload) R6h(mPYA  
      multipart请求信息的最大尺寸(文件上传用) I/Hwf  
O!hg@[\B+  
struts.multipart.parser p` B48TW  
      The org.apache.struts2.dispatcher.multipart. 'vhgR2/  
      MultiPartRequest parser implementation for a multipart request (file upload) Ua,Lg.z  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) k5$_Q#  
J1 a/U@"  
E&#AX:  
struts.multipart.saveDir vy,ER<  
      The directory to use for storing uploaded files FaPX[{_E  
      设置存储上传文件的目录夹 Jq l#z/z  
=~?2i)-mC  
struts.objectFactory ?M;2H {KG:  
      The com.opensymphony.xwork2.ObjectFactory implementation class ^p|MkB?uM  
      com.opensymphony.xwork2.ObjectFactory接口(spring) FdKp@&O+1  
@%O"P9;s  
struts.objectFactory.spring.autoWire bkceR>h%  
      Whether Spring should autoWire or not {K09U^JU  
      是否自动绑定Spring \d&j`UVY  
bguhx3s  
struts.objectFactory.spring.useClassCache B$ +YK%I  
      Whether Spring should use its class cache or not Nw+0b4{  
      是否spring应该使用自身的cache I$n 0aR6  
zob^z@2  
struts.objectTypeDeterminer ^a[7qX_B  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class %?<C ?.  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 <[Q#}/$"  
(VO) Q  
struts.serve.static.browserCache w_ kHy_)  
If static content served by the Struts filter should set browser caching header properties or not IwZn%>1N  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 {e/12q  
n (C*LK  
struts.serve.static GL cf'$l  
      Whether the Struts filter should serve static content or not d?oupW}uu  
      是否struts过滤器应该提供静态内容 1 C{n!l  
ivb&J4?y  
struts.tag.altSyntax !qV{OXdrB  
      Whether to use the alterative syntax for the tags or not gLsl/G  
      是否可以用替代的语法替代tags \'q-Xr'}M  
up=4B  
struts.ui.templateDir d8C?m*3 J  
      The directory containing UI templates aG%KiJ7KEN  
      UI templates的目录夹 L oe!@c  
o*_[3{FU  
struts.ui.theme ^ W eE%"  
      The default UI template theme al F*L  
      默认的UI template主题 GLB7h 9>  
9jDV]!N4  
struts.url.http.port +6B(LPxgP  
      The HTTP port used by Struts URLs \tye:!a?;@  
      设置http端口 I?G m  
H~i+: X=I  
struts.url.https.port 8v8?D8\=|  
      The HTTPS port used by Struts URLs 5,:>.LRA  
      设置https端口 YjdCCju  
b*',(J94  
struts.url.includeParams RgHPYf{  
      The default includeParams method to generate Struts URLs 9.m_3"s  
      在url中产生 默认的includeParams S:v]3G  
>~){KV1~  
R56:}<Y,  
struts.velocity.configfile _k\*4K8L  
      The Velocity configuration file path -7fsfcGM$  
      velocity配置文件路径 /+1+6MqRn*  
p(8H[L4Y  
struts.velocity.contexts &$lz@Z  
      List of Velocity context names G!RbM.6  
      velocity的context列表 t4GG@`  
Fx0E4\-  
M n`gd#  
struts.velocity.manager.classname rZLTai}`>  
      org.apache.struts2.views.velocity.VelocityManager implementation class 6H+gFXIv  
      org.apache.struts2.views.velocity.VelocityManager接口名 b] DF7 U  
%`F6>J  
struts.velocity.toolboxlocation ()6(eRGJ  
      The location of the Velocity toolbox b6RuYwHWV0  
      velocity工具盒的位置 {VE\}zKF  
struts.xslt.nocache #Q.A)5_  
      Whether or not XSLT templates should not be cached "EQ`Q=8  
      是否XSLT模版应该被缓存 cgNK67"(  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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