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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 keMfK ]9  
:=J^"c  
struts.action.extension \@K KX  
      The URL extension to use to determine if the request is meant for a Struts action XP |qY1  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 H/I1n\  
@|i f^  
struts.configuration 0YApaL+jt  
      The org.apache.struts2.config.Configuration implementation class Ny6 daf3f  
        org.apache.struts2.config.Configuration接口名 _Q $D6+  
49;2tl;F  
struts.configuration.files )RFE< Qcj  
      A list of configuration files automatically loaded by Struts -T  5$l  
      struts自动加载的一个配置文件列表 rP=!!fC1;  
#SR"Q`P  
struts.configuration.xml.reload '~Z#h  P  
      Whether to reload the XML configuration or not FX6 *`  
      是否加载xml配置(true,false) =q4 QBAW  
q7VpKfA:M  
struts.continuations.package 1q&gTvIp  
      The package containing actions that use Rife continuations AVx 0aj  
      含有actions的完整连续的package名称 G.}Ex!8R7_  
_s&sA2r<  
struts.custom.i18n.resources c[DC  
      Location of additional localization properties files to load ju@5D h  
      加载附加的国际化属性文件(不包含.properties后缀) oV 7A"8L^a  
+TR#  
struts.custom.properties yQ3*~d~U|L  
      Location of additional configuration properties files to load ;?A?1q8*  
      加载附加的配置文件的位置 T&5dF9a  
@rh1W$  
%~ROV>&  
struts.devMode ST^@7f_  
      Whether Struts is in development mode or not %NI'PXpI  
      是否为struts开发模式 N;.cZp2  
NUclF|G  
struts.dispatcher.parametersWorkaround Ju~8C\Dd  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic BwN>;g_  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) gkN|3^  
];|;")#=  
struts.enable.DynamicMethodInvocation BU|bo")  
      Allows one to disable dynamic method invocation from the URL `T;M=S^y*E  
        允许动态方法调用 }g?9 /)z  
wJb\Q  
struts.freemarker.manager.classname 05+uBwH  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 0k];%HV|  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 W9$mgs=S`E  
wkp|V{k  
struts.i18n.encoding hgz7dF  
      The encoding to use for localization messages :h|nV ~  
      国际化信息内码 ,B,2t u2  
tvC7LLNP<  
struts.i18n.reload @Lj28&4:<  
      Whether the localization messages should automatically be reloaded (S@H'G"  
      是否国际化信息自动加载 r}gp{Pf7e  
t-vH\m  
struts.locale & q(D90w.  
      The default locale for the Struts application aXSTA ,%  
      默认的国际化地区信息 wN])"bmB  
Z~.3)6,z  
struts.mapper.class 05<MsxB"w  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class u.}z}'-  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ^PCshb##  
D:uBr|('  
struts.multipart.maxSize _a"\g9{%*  
      The maximize size of a multipart request (file upload) CENA!WWQ  
      multipart请求信息的最大尺寸(文件上传用) C7]K9  
/}]Irj4m  
struts.multipart.parser } r#by%P  
      The org.apache.struts2.dispatcher.multipart. F?LTWm  
      MultiPartRequest parser implementation for a multipart request (file upload) 0 w"&9+kV  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 4YVxRZ1[3  
XG5mfKMt+  
XZaei\rUn)  
struts.multipart.saveDir <*Kj7o{Qn  
      The directory to use for storing uploaded files wec |~Rc-  
      设置存储上传文件的目录夹 8bB'[gJ]{  
J% B(4`  
struts.objectFactory 7[l "=  
      The com.opensymphony.xwork2.ObjectFactory implementation class Dl3Df u8  
      com.opensymphony.xwork2.ObjectFactory接口(spring) %h ?c  
j}=$2|}8{  
struts.objectFactory.spring.autoWire "[.adiw  
      Whether Spring should autoWire or not mn=G6h T}W  
      是否自动绑定Spring (+Yerc.NQt  
Jmln*,Ol7  
struts.objectFactory.spring.useClassCache h5bQ  
      Whether Spring should use its class cache or not /^E2BRI  
      是否spring应该使用自身的cache \pzqUTk  
CapWn~*g  
struts.objectTypeDeterminer W*hRYgaX3  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class c%uX+\-$  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 `]^JOw5o  
N'fE^jqU  
struts.serve.static.browserCache Os?`!1-  
If static content served by the Struts filter should set browser caching header properties or not r lalr+Rf  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 HNA/LJl[VU  
,qgph^C  
struts.serve.static 89>U Koc?  
      Whether the Struts filter should serve static content or not Ld[zOx  
      是否struts过滤器应该提供静态内容 zkdyfl5  
iBy:HH  
struts.tag.altSyntax ]-$0?/`p8  
      Whether to use the alterative syntax for the tags or not mis cmD  
      是否可以用替代的语法替代tags /\-qz$  
k,xY\r$  
struts.ui.templateDir _u^ S[  
      The directory containing UI templates )g9&fGYf  
      UI templates的目录夹 R4<}kA,.  
F6gboo)SD  
struts.ui.theme Q0f7gY1-%  
      The default UI template theme ZJ} V>Bu-  
      默认的UI template主题 +2kJuoj:  
/?%zNkcxu  
struts.url.http.port ;}b.gpG  
      The HTTP port used by Struts URLs 4VjP:>*p  
      设置http端口 HR55|`]  
qV$\.T>x  
struts.url.https.port fA u^%jiU  
      The HTTPS port used by Struts URLs -.|V S|y  
      设置https端口 C?e1 a9r  
.0:t wj  
struts.url.includeParams [s-Km/  
      The default includeParams method to generate Struts URLs Uhc2`r#q  
      在url中产生 默认的includeParams yWa-iHWC  
y!SElKj  
igp[cFN  
struts.velocity.configfile 'aQ"&GX@  
      The Velocity configuration file path NhyVX%qt:  
      velocity配置文件路径 <im BFw  
yz}Agc4.I  
struts.velocity.contexts F:.rb Ei  
      List of Velocity context names DFKU?#R  
      velocity的context列表 c|[:vin  
qALlMj--m  
/s3AZ j9  
struts.velocity.manager.classname m$xL#omD  
      org.apache.struts2.views.velocity.VelocityManager implementation class }g:y!p k  
      org.apache.struts2.views.velocity.VelocityManager接口名 [XWY-q#Gg  
(&4aebkZO  
struts.velocity.toolboxlocation Lrgv:n  
      The location of the Velocity toolbox PsTPGK#S  
      velocity工具盒的位置 +(iM]L$Fw%  
struts.xslt.nocache 12*'rU;*  
      Whether or not XSLT templates should not be cached AvdxDN  
      是否XSLT模版应该被缓存 P agzp%m  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
10+5=?,请输入中文答案:十五