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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解  (r!d4  
3L5o8?[  
struts.action.extension V!3.MQM  
      The URL extension to use to determine if the request is meant for a Struts action =#Qm D=  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 a#NP69  
C\d5t4s  
struts.configuration ud @7%%  
      The org.apache.struts2.config.Configuration implementation class ~p'DPg4  
        org.apache.struts2.config.Configuration接口名 S^/:O.X)c,  
J]=2] oI2  
struts.configuration.files w?db~"T  
      A list of configuration files automatically loaded by Struts FE[{*8  
      struts自动加载的一个配置文件列表 X"z!52*3]  
7K\H_YY8#  
struts.configuration.xml.reload gvi]#|  
      Whether to reload the XML configuration or not w-3 B~e  
      是否加载xml配置(true,false) 50Kv4a"  
:87HXz6]jS  
struts.continuations.package |:{H4  
      The package containing actions that use Rife continuations IY=CTFQ8lm  
      含有actions的完整连续的package名称 DX$zzf  
KDmzKOl  
struts.custom.i18n.resources r:n-?P  
      Location of additional localization properties files to load oP0ZJK&;  
      加载附加的国际化属性文件(不包含.properties后缀) ?4 &C)[^  
:: 2pDtMS  
struts.custom.properties $[NC$*N7  
      Location of additional configuration properties files to load faJ>,^V#  
      加载附加的配置文件的位置 a| s64+  
F]"Hs>  
;&9A Yh.  
struts.devMode aRh1Q=^@(4  
      Whether Struts is in development mode or not KW[Jft  
      是否为struts开发模式 B&Igm<72x  
wV,l }Xb-  
struts.dispatcher.parametersWorkaround 1sHaG  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic '+Gy)@c  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) nnm9pnx  
=%Yw;% 0)Y  
struts.enable.DynamicMethodInvocation oF(<}0Z  
      Allows one to disable dynamic method invocation from the URL '/@] V  
        允许动态方法调用 fcC?1M[BP~  
5jYZ+OB  
struts.freemarker.manager.classname ;J)8#|  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 7rdPA9  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 mAFVjSa2  
npW1Z3n  
struts.i18n.encoding /h!Y/\kI  
      The encoding to use for localization messages "V:24\vO  
      国际化信息内码 <f'2dT@6  
UQ ~7,D`=#  
struts.i18n.reload L< gp "e  
      Whether the localization messages should automatically be reloaded ).Ei:/*j  
      是否国际化信息自动加载 q|[P[7z  
hR]AUH  
struts.locale i7m=V T  
      The default locale for the Struts application =:!$'q:  
      默认的国际化地区信息 DsY$  
#n[1%8l,  
struts.mapper.class z z4.gkU  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ppBIl6  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 P 3CzX48^  
``:AF:  
struts.multipart.maxSize p=U/l#xO  
      The maximize size of a multipart request (file upload)  VS:UVe  
      multipart请求信息的最大尺寸(文件上传用) cVR3_e{&H  
OEkx}.w  
struts.multipart.parser PUdJ>U  
      The org.apache.struts2.dispatcher.multipart. FZEK-]h.  
      MultiPartRequest parser implementation for a multipart request (file upload) M99gDN  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) PKx ewd  
0> 6;,pd"  
3gn) q>Xj$  
struts.multipart.saveDir 4rh*&'  
      The directory to use for storing uploaded files v GF<  
      设置存储上传文件的目录夹 ~[mAv #d&i  
&dino  
struts.objectFactory BE;J/  
      The com.opensymphony.xwork2.ObjectFactory implementation class JVORz-uBs  
      com.opensymphony.xwork2.ObjectFactory接口(spring) [;Q8xvVZ'  
2nQrCdRC  
struts.objectFactory.spring.autoWire sc2nLyn$  
      Whether Spring should autoWire or not G2nL#l~@)  
      是否自动绑定Spring C(7Y5\"P  
4@wH4H8  
struts.objectFactory.spring.useClassCache M =!RJ%6f  
      Whether Spring should use its class cache or not "\'g2|A  
      是否spring应该使用自身的cache r/![ohrEB  
S[b)`Wi D  
struts.objectTypeDeterminer #>|l"1   
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class JYbE(&l%de  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ,=9e]pQ  
aN.t) DG}J  
struts.serve.static.browserCache 7I6bZ;}d  
If static content served by the Struts filter should set browser caching header properties or not 6;lJs,I1w{  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 *|f&a  
RsYn6ozb  
struts.serve.static j;tT SNF  
      Whether the Struts filter should serve static content or not LWB"}#vt  
      是否struts过滤器应该提供静态内容 %0PdN@I  
(;V=A4F-D  
struts.tag.altSyntax s_=/p5\  
      Whether to use the alterative syntax for the tags or not 0,T'z,  
      是否可以用替代的语法替代tags uhuwQS=X  
'JBf*p".  
struts.ui.templateDir wp!<u %  
      The directory containing UI templates 6 1= ?(Iw  
      UI templates的目录夹 %"Y7 b2pPa  
_jw A_  
struts.ui.theme o |7]8K=  
      The default UI template theme \(a9rZ9  
      默认的UI template主题 wl{Fx+<^3  
y(K?mtQ   
struts.url.http.port "+REv_:  
      The HTTP port used by Struts URLs IED7v  
      设置http端口 ^@ GE1  
3z[yKua\  
struts.url.https.port 1n! Jfs U  
      The HTTPS port used by Struts URLs t6;Ln().Hw  
      设置https端口 # E'g{.N  
71+J{XOC  
struts.url.includeParams rO% |PRP  
      The default includeParams method to generate Struts URLs ,w|f*L$  
      在url中产生 默认的includeParams  J9oGw P  
H1uNlPT  
WV5gH*uUa  
struts.velocity.configfile L&qzX)  
      The Velocity configuration file path {m9OgR5U  
      velocity配置文件路径 |X9YVZC  
B.&ly/d  
struts.velocity.contexts 30Nya$$A=  
      List of Velocity context names Z8$@}|jN  
      velocity的context列表 cLH|;  
NDhHU#Q9  
+MKr.k2  
struts.velocity.manager.classname 0X\,!FL  
      org.apache.struts2.views.velocity.VelocityManager implementation class \oPW  
      org.apache.struts2.views.velocity.VelocityManager接口名 s> JmLtT  
VdR5ZP  
struts.velocity.toolboxlocation wO!k|7:Z  
      The location of the Velocity toolbox AigL:4[  
      velocity工具盒的位置 $|!VP'VI  
struts.xslt.nocache WKZ9i2hcdf  
      Whether or not XSLT templates should not be cached `LL#Aia  
      是否XSLT模版应该被缓存 M_V\mYC8I  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
10+5=?,请输入中文答案:十五