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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 z:aT5D  
GLe(?\Ug=  
struts.action.extension %^l77 :O  
      The URL extension to use to determine if the request is meant for a Struts action m4@y58n=  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 *XmOWV2Y_  
27vLI~  
struts.configuration GRC=G&G  
      The org.apache.struts2.config.Configuration implementation class \kiCczW_  
        org.apache.struts2.config.Configuration接口名 -o+_PL $\  
6/9h=-w&  
struts.configuration.files Musz+<]  
      A list of configuration files automatically loaded by Struts ]u_^~  
      struts自动加载的一个配置文件列表 `F>1xMm  
n ?%3=~9  
struts.configuration.xml.reload #N|)hBz9-  
      Whether to reload the XML configuration or not JlF0L%Rc  
      是否加载xml配置(true,false) %<e\s6|P:  
@NXGVmY1}  
struts.continuations.package $J #}3;a  
      The package containing actions that use Rife continuations 'nNw  
      含有actions的完整连续的package名称 ?S8cl7;+  
%>uGzQ61  
struts.custom.i18n.resources j\nnx8`7  
      Location of additional localization properties files to load RGGP6SDc  
      加载附加的国际化属性文件(不包含.properties后缀) &50Kn[  
)S$!36Ni[  
struts.custom.properties E0c5c  
      Location of additional configuration properties files to load }TRr*] P<%  
      加载附加的配置文件的位置 W|T"'M_  
??rx\*,C</  
,z)7rU`  
struts.devMode @T1/S&F=  
      Whether Struts is in development mode or not $7aRf'  
      是否为struts开发模式 lC6#EU;  
Kg>+5~+E?q  
struts.dispatcher.parametersWorkaround L_jwM ^8  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic IPcAE!h6zN  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) k 6~k  
:&`Yz   
struts.enable.DynamicMethodInvocation q<}5KY  
      Allows one to disable dynamic method invocation from the URL ^Y xqJy  
        允许动态方法调用 P _t8=d  
o><~.T=d&  
struts.freemarker.manager.classname _c%]RE  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class n(a7%Hx2  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 F5%-6@=  
3vOI=ar=L~  
struts.i18n.encoding qTiUha9  
      The encoding to use for localization messages C%v@ u$N  
      国际化信息内码 -,96Qg4vI  
##,i<  
struts.i18n.reload 4aAr|!8|h!  
      Whether the localization messages should automatically be reloaded 0i$jtCCL(  
      是否国际化信息自动加载 C4Q ^WU+$j  
#JZf]rtp  
struts.locale x#| P-^  
      The default locale for the Struts application T}2a~  
      默认的国际化地区信息 "G|Gyc  
Ydmz!CEu  
struts.mapper.class oC U8;z  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class gsc*![N  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 "twV3R  
@?K(+BGi  
struts.multipart.maxSize >}<:5gZtA  
      The maximize size of a multipart request (file upload) v>g1\y Iw  
      multipart请求信息的最大尺寸(文件上传用) XFmnZpqXH  
W #qM$  
struts.multipart.parser "[H9)aAj7  
      The org.apache.struts2.dispatcher.multipart. sb(,w  
      MultiPartRequest parser implementation for a multipart request (file upload) ]&VD$Z984r  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) U%_a@&<  
I~"-  
}tx~y-QQ  
struts.multipart.saveDir >S{1=N@Ev=  
      The directory to use for storing uploaded files . xX xjl  
      设置存储上传文件的目录夹 ,y2ur2  
xVKx#X9yk  
struts.objectFactory I]Wb\&$  
      The com.opensymphony.xwork2.ObjectFactory implementation class )TyL3Z\>(  
      com.opensymphony.xwork2.ObjectFactory接口(spring) iml*+t  
%dL|i2+*8  
struts.objectFactory.spring.autoWire 'y}A3 RqN  
      Whether Spring should autoWire or not _J   
      是否自动绑定Spring >K-O2dry*  
c.&vWmLSGE  
struts.objectFactory.spring.useClassCache jRB:o?S  
      Whether Spring should use its class cache or not #B'WT{B$/~  
      是否spring应该使用自身的cache zv#i\8h^p  
3 %dbfT j  
struts.objectTypeDeterminer uz Z|w+3O  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class GWA_,/jS%  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 KfWVz*DC!  
|fTQ\q]W  
struts.serve.static.browserCache r9s1\7]x  
If static content served by the Struts filter should set browser caching header properties or not K( 6=)  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 \s<iM2]Kl  
zK:/ 1  
struts.serve.static ,)GCg@7B  
      Whether the Struts filter should serve static content or not )l30~5u<J  
      是否struts过滤器应该提供静态内容 #JuO  
uVu`TgbZ  
struts.tag.altSyntax ]pb;q(?^  
      Whether to use the alterative syntax for the tags or not [rPW@|^5  
      是否可以用替代的语法替代tags <`| }bt  
K~,,xsy,G&  
struts.ui.templateDir o?p) V^7  
      The directory containing UI templates a%(1#2^`q!  
      UI templates的目录夹 `p#A2Ap A  
*TE6p  
struts.ui.theme `?=AgGg  
      The default UI template theme qg.[M*  
      默认的UI template主题 !h&hPY1  
6tG9PG98q9  
struts.url.http.port ,=oq)Fm]  
      The HTTP port used by Struts URLs .#j)YG  
      设置http端口 pb E`Eq  
S*#y7YKI  
struts.url.https.port 30<dEoF  
      The HTTPS port used by Struts URLs v l{hE~  
      设置https端口 o{UwUMw5`  
3O#7OL68v  
struts.url.includeParams 4sZ^:h,1  
      The default includeParams method to generate Struts URLs tMyD^jVC  
      在url中产生 默认的includeParams T| 4c\  
L?9Vz&8]  
m> NRIEA6  
struts.velocity.configfile HSK^vd?_l  
      The Velocity configuration file path X[Y!=e4z  
      velocity配置文件路径 ]vT  
fRrHWE+  
struts.velocity.contexts VIi|:k  
      List of Velocity context names L1rov  
      velocity的context列表 Xx?Jt  
Vaq=f/  
#M`ijN!Y  
struts.velocity.manager.classname 3<JZt.|  
      org.apache.struts2.views.velocity.VelocityManager implementation class "_#%W oo  
      org.apache.struts2.views.velocity.VelocityManager接口名 -Qn:6M>w^  
0^[ " &K/  
struts.velocity.toolboxlocation )b!q  
      The location of the Velocity toolbox <o?qpW$,>  
      velocity工具盒的位置 YT:<AJm  
struts.xslt.nocache -'q=oTZ  
      Whether or not XSLT templates should not be cached m"x~Fjvd  
      是否XSLT模版应该被缓存 %],.?TS2V  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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