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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 M\k[?i  
C@:X9NU  
struts.action.extension fgj$ u  
      The URL extension to use to determine if the request is meant for a Struts action /0gr?I1wr7  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 2bw) , W  
Dzu//_u  
struts.configuration BH~zeJ*Pr  
      The org.apache.struts2.config.Configuration implementation class r0[<[jEh  
        org.apache.struts2.config.Configuration接口名 8N"WKBj|_d  
h x5M)8#+  
struts.configuration.files CYE[$*g6y  
      A list of configuration files automatically loaded by Struts x"C7NW[$  
      struts自动加载的一个配置文件列表 R+K|K2"  
[QQM/?  
struts.configuration.xml.reload _oG%bNM  
      Whether to reload the XML configuration or not hg0{x/Dgny  
      是否加载xml配置(true,false) x`C"Z7t  
TW(X#T@Z6I  
struts.continuations.package { ?jXPf  
      The package containing actions that use Rife continuations ]R}(CaT1  
      含有actions的完整连续的package名称 4[kyzz x  
N;-%:nC  
struts.custom.i18n.resources o^(I+<el  
      Location of additional localization properties files to load uK(]@H7~!c  
      加载附加的国际化属性文件(不包含.properties后缀) n CX{tqy   
2(~Zl\  
struts.custom.properties >jmHe^rH  
      Location of additional configuration properties files to load J%r:"Jm[y1  
      加载附加的配置文件的位置 mejNa(D ^  
~4FzA,,  
wL:7G  
struts.devMode m='}t \=  
      Whether Struts is in development mode or not ']\SX*z?  
      是否为struts开发模式 t,/8U  
+L'Cbv="  
struts.dispatcher.parametersWorkaround ^J hs/HV  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic -?1R l:rM  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) b3[!1i  
BGj!/E  
struts.enable.DynamicMethodInvocation F Xr\  
      Allows one to disable dynamic method invocation from the URL gXs9qY%=  
        允许动态方法调用 7R79[:uwJ  
`'XN2-M8  
struts.freemarker.manager.classname J;wBS w%1  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Q=DMfJ"  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 P=<lY},  
rf@47H  
struts.i18n.encoding w[ 3a^  
      The encoding to use for localization messages t&w.Wc X)  
      国际化信息内码 m(9I+`  
/E\04Bs  
struts.i18n.reload (*6 .-Xn  
      Whether the localization messages should automatically be reloaded a]5y CBm  
      是否国际化信息自动加载 rf]z5;  
W,yLGz\  
struts.locale C<T6l'S{?  
      The default locale for the Struts application L'KKU4zj  
      默认的国际化地区信息 Qt>kythi  
i={4rZOD^  
struts.mapper.class ZDp^k{AN9a  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class WW6-oQs_#*  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 4t%Lo2v!X%  
DQ/rx`BG  
struts.multipart.maxSize u$5.GmKm  
      The maximize size of a multipart request (file upload) 9__Q-J  
      multipart请求信息的最大尺寸(文件上传用) p8-$MF]] 6  
3 i>NKS  
struts.multipart.parser eE .wnn  
      The org.apache.struts2.dispatcher.multipart. .XeZjoJ$z  
      MultiPartRequest parser implementation for a multipart request (file upload) EJ<L,QH3  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) I Ij:3HP  
W vu 1?  
,ZY\})`p  
struts.multipart.saveDir F{Yr8(UHA  
      The directory to use for storing uploaded files 9-_Lc<  
      设置存储上传文件的目录夹 q&?hwX Z7  
AsuugcN*  
struts.objectFactory z(.,BB[  
      The com.opensymphony.xwork2.ObjectFactory implementation class HfH_jnR*  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ;3& wO~lW  
>}NnzZ  
struts.objectFactory.spring.autoWire %WR"qd&HSh  
      Whether Spring should autoWire or not {%k[Z9*tO  
      是否自动绑定Spring qHyOaK Md  
Z{l`X#':  
struts.objectFactory.spring.useClassCache gn.)_  
      Whether Spring should use its class cache or not 9$9a BW  
      是否spring应该使用自身的cache "x;FE<I  
$>_`.*I/  
struts.objectTypeDeterminer BT0;I  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Uj 4HVd  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 jz;{,F  
FwB xag:u  
struts.serve.static.browserCache t(PA+~sIp  
If static content served by the Struts filter should set browser caching header properties or not }#E]efjs  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 A-L)2.M  
0(u}z  
struts.serve.static d { P$}b  
      Whether the Struts filter should serve static content or not V(LfFO{^>?  
      是否struts过滤器应该提供静态内容 Y^d#8^cP  
+.^pAz U}R  
struts.tag.altSyntax 4 )}>dxv  
      Whether to use the alterative syntax for the tags or not VFnxj52<  
      是否可以用替代的语法替代tags C{t}q*fG 5  
M3!;u%~} s  
struts.ui.templateDir G[>CBh5  
      The directory containing UI templates (yuOY/~k/  
      UI templates的目录夹 |cuKC \  
@~7au9.V=X  
struts.ui.theme =2rdbq6R  
      The default UI template theme ! ,H6.IH;S  
      默认的UI template主题 1\/vS$bi(  
$ Fc}K+  
struts.url.http.port >Q"3dw  
      The HTTP port used by Struts URLs wfu`(4  
      设置http端口 "B"ql-K  
g%^/^<ei  
struts.url.https.port NgsEEPu?  
      The HTTPS port used by Struts URLs lF46W  
      设置https端口 [z7]@v6b  
iDgc$'%?  
struts.url.includeParams -R];tpddR5  
      The default includeParams method to generate Struts URLs G i(  
      在url中产生 默认的includeParams = 4|"<8'  
!P=L0A`  
'ju_l)(R  
struts.velocity.configfile H0lW gJmi|  
      The Velocity configuration file path OU]"uV<(  
      velocity配置文件路径 >bhF{*t#;y  
g~9rt_OV  
struts.velocity.contexts :~s*yznf  
      List of Velocity context names /']`}*d  
      velocity的context列表 &ns??:\+T  
9X#]Lg?b  
ih75 C"  
struts.velocity.manager.classname 5__B M5|  
      org.apache.struts2.views.velocity.VelocityManager implementation class V}2[chbl  
      org.apache.struts2.views.velocity.VelocityManager接口名 Lq6nmjL  
~SA>$  
struts.velocity.toolboxlocation &"Cy&[  
      The location of the Velocity toolbox x2b t^!t.  
      velocity工具盒的位置 U_Mag(^-  
struts.xslt.nocache -<T> paE9  
      Whether or not XSLT templates should not be cached +Qzl-eN/+  
      是否XSLT模版应该被缓存 ZtGk Md$  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
10+5=?,请输入中文答案:十五