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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 G;wv.|\  
Xs*~ [k'  
struts.action.extension Hm%[d;Z7  
      The URL extension to use to determine if the request is meant for a Struts action 0nG& LL5  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ?RrJYj1  
}evc]?1(  
struts.configuration Ab8~'<F$B  
      The org.apache.struts2.config.Configuration implementation class %[;<'s5e~  
        org.apache.struts2.config.Configuration接口名 $Iv*?S"2  
@q[-,EA9  
struts.configuration.files X!nI{PE  
      A list of configuration files automatically loaded by Struts R0-ARq#0<  
      struts自动加载的一个配置文件列表 >PL/>   
_/ P"ulNb  
struts.configuration.xml.reload ZVgR7+`]#  
      Whether to reload the XML configuration or not V ;"?='vVe  
      是否加载xml配置(true,false) ~"+[VE5  
irgjq/&d  
struts.continuations.package j3sUZg|d  
      The package containing actions that use Rife continuations ojtcKw  
      含有actions的完整连续的package名称 &A=d7ASN=  
/8J2,8vZ  
struts.custom.i18n.resources 2|w(d  
      Location of additional localization properties files to load T|ZT&x$z  
      加载附加的国际化属性文件(不包含.properties后缀) iTqv=  
Wb/@~!+i`  
struts.custom.properties UU$ +DL  
      Location of additional configuration properties files to load z&cfFx#h)  
      加载附加的配置文件的位置 :8yrtbf$  
PY)C=={p  
y#YCc{K [  
struts.devMode z8vF QO\I"  
      Whether Struts is in development mode or not NM[w=  
      是否为struts开发模式 1[u{3lQ  
izmL8U ?t  
struts.dispatcher.parametersWorkaround ls 'QfJm  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic tH17Z  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) $N:m 9R  
<J[*~v%(  
struts.enable.DynamicMethodInvocation dpGaI  
      Allows one to disable dynamic method invocation from the URL k&yy_r   
        允许动态方法调用 c\]h YKA  
q\d'}:kfu  
struts.freemarker.manager.classname 93[`1_q7\  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class gaTI:SKzc  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ?HZ+fS ,-  
)Ky 0q-W  
struts.i18n.encoding D#^v=U  
      The encoding to use for localization messages /ExnW >wT  
      国际化信息内码 [4PG_k[uTJ  
vJmE}  
struts.i18n.reload &$< S1  
      Whether the localization messages should automatically be reloaded ,f} s!>j  
      是否国际化信息自动加载 V..m2nQj  
3u+~!yz  
struts.locale {IqbO>|"O_  
      The default locale for the Struts application 8~}Ti*Urc  
      默认的国际化地区信息 rw8db'  
_oe2 pL&  
struts.mapper.class 0'RSl~QvqS  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class |w:7).P  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 IjJ3CJ<  
LD]XN'?"W  
struts.multipart.maxSize YujhpJ<  
      The maximize size of a multipart request (file upload) eX;"kO  
      multipart请求信息的最大尺寸(文件上传用) YX@[z 5*  
a;([L8^7$l  
struts.multipart.parser Rz*%(2Vz  
      The org.apache.struts2.dispatcher.multipart. bWjW_$8  
      MultiPartRequest parser implementation for a multipart request (file upload) Tw-gM-m;  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) @ ;rU#  
Bam7^g'*!3  
ECU:3KH>MF  
struts.multipart.saveDir kAf2g  
      The directory to use for storing uploaded files 1_XdL?h#o  
      设置存储上传文件的目录夹 Yl>@(tu)|  
RUSBJsMB  
struts.objectFactory .* V ZY  
      The com.opensymphony.xwork2.ObjectFactory implementation class Z`q?pE>R  
      com.opensymphony.xwork2.ObjectFactory接口(spring) "aAzG+NM  
ks 3<zW(  
struts.objectFactory.spring.autoWire M nH4p  
      Whether Spring should autoWire or not R9fM9  
      是否自动绑定Spring Dgp"RUP  
vKol@7%N  
struts.objectFactory.spring.useClassCache U6n%rdXJ=  
      Whether Spring should use its class cache or not z/6eP`jj  
      是否spring应该使用自身的cache W@#)8];>  
vYrqZie<  
struts.objectTypeDeterminer o;_v'  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class VmV/~-<Z  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 A$[@AY$MI  
h]vA%VuE'E  
struts.serve.static.browserCache DHgEhf]  
If static content served by the Struts filter should set browser caching header properties or not ([tbFI}A  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 |V%Qp5 XJ  
I tp7X  
struts.serve.static 4^  $  
      Whether the Struts filter should serve static content or not NFU 5+X-c  
      是否struts过滤器应该提供静态内容 0rjxWPc  
Da)9s %_4  
struts.tag.altSyntax 2c_#q1/Z/  
      Whether to use the alterative syntax for the tags or not *d?,i -Q.+  
      是否可以用替代的语法替代tags UR:cBr  
W?5^cEF  
struts.ui.templateDir '-S^z"ZrI  
      The directory containing UI templates UIovv%7zZ  
      UI templates的目录夹 SA)}---"  
Et4gRS)\  
struts.ui.theme kd9hz-*  
      The default UI template theme Ef:.)!;jy  
      默认的UI template主题 ]k " j  
>z.o?F  
struts.url.http.port _Cj u C`7  
      The HTTP port used by Struts URLs ]'EtLFv)  
      设置http端口 L6J=m#Ld  
Iyz};7yVI  
struts.url.https.port Ca0~K42~  
      The HTTPS port used by Struts URLs !#5RP5,,Y  
      设置https端口 OB>Pk_eQK  
gle_~es'K  
struts.url.includeParams q1.w8$  
      The default includeParams method to generate Struts URLs @K3<K (  
      在url中产生 默认的includeParams G= !Gy.  
E#Smi507p  
Y2"X;`<  
struts.velocity.configfile v\'E o* 4  
      The Velocity configuration file path b(wW;C'#0p  
      velocity配置文件路径 4S`2")V  
h%8[];*DpN  
struts.velocity.contexts hg/G7Ur"  
      List of Velocity context names  ?; ZTJ  
      velocity的context列表 5<0&y3  
Pa 'g=-  
WSz#g2a  
struts.velocity.manager.classname 4nN%5c~=  
      org.apache.struts2.views.velocity.VelocityManager implementation class MRMsw NQ  
      org.apache.struts2.views.velocity.VelocityManager接口名 C{`+h163\  
Jlj=FA`  
struts.velocity.toolboxlocation G&I\Za;   
      The location of the Velocity toolbox /bjyV]N  
      velocity工具盒的位置 vUk <z*  
struts.xslt.nocache WZOi,  
      Whether or not XSLT templates should not be cached !_3R dS  
      是否XSLT模版应该被缓存 )hGRq'WA=  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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