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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ow 6\j:$?  
+/%4E %  
struts.action.extension ^t<L  
      The URL extension to use to determine if the request is meant for a Struts action G@~e :v)  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Z ]ZUK  
E=S_1  
struts.configuration rk&oKd_&i  
      The org.apache.struts2.config.Configuration implementation class tRc 3<>  
        org.apache.struts2.config.Configuration接口名 W^ask[46R  
bT9:9LP  
struts.configuration.files %jq R^F:J  
      A list of configuration files automatically loaded by Struts v6aMYmenBH  
      struts自动加载的一个配置文件列表 *kF/yN  
.3Smqwm=Y  
struts.configuration.xml.reload V_v+i c^  
      Whether to reload the XML configuration or not j+/EG^*/  
      是否加载xml配置(true,false) gGA5xkA  
h<?I?ZR0$  
struts.continuations.package TQ/#  
      The package containing actions that use Rife continuations s:,fXg25J  
      含有actions的完整连续的package名称 Ebi~gGo  
p((.(fx  
struts.custom.i18n.resources n Zx^ej\  
      Location of additional localization properties files to load C5Fq%y{$.  
      加载附加的国际化属性文件(不包含.properties后缀) PiR`4Tu  
2%fkXH<  
struts.custom.properties R~TG5^(  
      Location of additional configuration properties files to load WwSyw?T  
      加载附加的配置文件的位置 A"+t[0$.  
*x 2u  
7A<}JaE!,  
struts.devMode r[j@@[)"  
      Whether Struts is in development mode or not ;yZY2)L   
      是否为struts开发模式 <bv9X?U  
FuBUg _h  
struts.dispatcher.parametersWorkaround X/Fip 0i  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic \4*i;a.kU  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) !a5e{QG0  
X)9|ZF2`  
struts.enable.DynamicMethodInvocation u8y('\(  
      Allows one to disable dynamic method invocation from the URL #?\|)y4i  
        允许动态方法调用 'xM\txZ;  
E/ku VZX  
struts.freemarker.manager.classname tE=$#  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Rg~[X5  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 2b#> ~  
uk.x1*0x  
struts.i18n.encoding e7U9"pk  
      The encoding to use for localization messages /dVcNo3"  
      国际化信息内码 ,}Ic($ To  
*K=me/ 3  
struts.i18n.reload n6INI~,  
      Whether the localization messages should automatically be reloaded u C`)?f*I  
      是否国际化信息自动加载 4Gy3s|{  
OPKmYzf@b  
struts.locale 1 7hXg"B  
      The default locale for the Struts application Rmh,P>  
      默认的国际化地区信息 D2#.qoP #  
)#cGeP A  
struts.mapper.class !P_'n  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class v{U1B  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Yg`z4 U'6~  
t4iV[xl3F  
struts.multipart.maxSize ,rQPs  
      The maximize size of a multipart request (file upload) =Sn!'@%U]  
      multipart请求信息的最大尺寸(文件上传用) =j1Q5@vS  
W}oAgUd  
struts.multipart.parser 'P-FeN^  
      The org.apache.struts2.dispatcher.multipart. g\,HiKBXd  
      MultiPartRequest parser implementation for a multipart request (file upload) {D&:^f  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) }*0*8~Q'5  
a,p7l$kK  
af7\2 g3*  
struts.multipart.saveDir #1f8A5<  
      The directory to use for storing uploaded files 8,(5Q  
      设置存储上传文件的目录夹 3gmu-t v  
iW <B1'dp  
struts.objectFactory ;0\  
      The com.opensymphony.xwork2.ObjectFactory implementation class 5 %aT  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 8DNGqaH;dt  
#bLeK$  
struts.objectFactory.spring.autoWire nbz?D_  
      Whether Spring should autoWire or not "7a;Ap q*  
      是否自动绑定Spring ~x}=lKN  
#9Dixsl*Q  
struts.objectFactory.spring.useClassCache F%QVn .  
      Whether Spring should use its class cache or not K29KS)~;W  
      是否spring应该使用自身的cache .W%{j()op  
f_Q_qckB%x  
struts.objectTypeDeterminer <El6?ml@  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class F D6>[W  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 <)(STo  
/ZKO\q  
struts.serve.static.browserCache QFf lx  
If static content served by the Struts filter should set browser caching header properties or not O ijG@bI8  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 "^ cn9AG{  
ve / Q6j{  
struts.serve.static Iih~rWJ  
      Whether the Struts filter should serve static content or not sL tsvH#  
      是否struts过滤器应该提供静态内容 R:v`\  
)f0t"lk  
struts.tag.altSyntax %k3a34P@  
      Whether to use the alterative syntax for the tags or not hzc2c.gcF  
      是否可以用替代的语法替代tags iwfv t^  
{N$G|bm]u<  
struts.ui.templateDir q-}J0vu\K  
      The directory containing UI templates G}\E{VvWh  
      UI templates的目录夹 N*My2t_+E  
> c7fg^@  
struts.ui.theme w_I}FPT<(:  
      The default UI template theme  _D(F[p|  
      默认的UI template主题 {E`f(9r:  
p_ QL{gn  
struts.url.http.port MqI!i>  
      The HTTP port used by Struts URLs j=d@Ih*  
      设置http端口 ^YKEc0"w(  
q$s0zqV5  
struts.url.https.port W%.Kr-[?`o  
      The HTTPS port used by Struts URLs W6~B~L  
      设置https端口 ;^FV  
P$D1kcCw  
struts.url.includeParams 70m}+R(`  
      The default includeParams method to generate Struts URLs I/MYS5}  
      在url中产生 默认的includeParams BaTE59W  
e?G] fz  
Wel-a< e  
struts.velocity.configfile 6P!M+PO  
      The Velocity configuration file path !K1[o'o#  
      velocity配置文件路径 W04-D  
[HK[{M =v=  
struts.velocity.contexts `hL16S  
      List of Velocity context names [:sV;37s  
      velocity的context列表 >t O(S  
$q{-)=-BXQ  
QE$sXP7 &u  
struts.velocity.manager.classname Jpws1~  
      org.apache.struts2.views.velocity.VelocityManager implementation class {v56k8uZ  
      org.apache.struts2.views.velocity.VelocityManager接口名 TgVvp0F;  
_w=si?q  
struts.velocity.toolboxlocation ]7-*1kL8=~  
      The location of the Velocity toolbox S!k cC-7  
      velocity工具盒的位置 p^A9iieHp=  
struts.xslt.nocache &aaXw?/zr  
      Whether or not XSLT templates should not be cached gz-}nCSi  
      是否XSLT模版应该被缓存 .T/\5_Bx  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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