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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 >|1-o;UU  
Dp?lgw  
struts.action.extension ,S&p\(r.  
      The URL extension to use to determine if the request is meant for a Struts action bMqFrG  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 {wf5HA  
@/='BVb'T  
struts.configuration BoHNni  
      The org.apache.struts2.config.Configuration implementation class }RUK?:lEA  
        org.apache.struts2.config.Configuration接口名 cEGR?4z  
<_SdW 5BF<  
struts.configuration.files <lRjh7  
      A list of configuration files automatically loaded by Struts )~ ^`[`  
      struts自动加载的一个配置文件列表 GGsAisF"N  
MKX58y{+  
struts.configuration.xml.reload  4Gj  
      Whether to reload the XML configuration or not `X(H,Q}*;  
      是否加载xml配置(true,false) )c<[@ ::i  
QvlV jDIy  
struts.continuations.package *b"aJ<+  
      The package containing actions that use Rife continuations V%voe  
      含有actions的完整连续的package名称 z -'e<v;w  
"!:)qVL^  
struts.custom.i18n.resources tV2o9!N4  
      Location of additional localization properties files to load /#[mV(k  
      加载附加的国际化属性文件(不包含.properties后缀) (Y  
RAA,%rRhu(  
struts.custom.properties 43*;"w=  
      Location of additional configuration properties files to load IB^vEY!`6_  
      加载附加的配置文件的位置 jM>;l6l  
m:cWnG  
VwT&A9&{8  
struts.devMode .RWq!Z=)3  
      Whether Struts is in development mode or not 5a:YzQ4  
      是否为struts开发模式 OUy} 1%HY  
96%N  
struts.dispatcher.parametersWorkaround "7w=LhzV[$  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 'T]Ok\  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) %<MI]D  
HE+D]7^  
struts.enable.DynamicMethodInvocation % "^CrG  
      Allows one to disable dynamic method invocation from the URL O{EbL5p  
        允许动态方法调用 +^[SXI^JaJ  
Q>WnSm5R  
struts.freemarker.manager.classname !y3XIbdS"  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 8(* ze+8  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 1+xi1w}3a  
,E2c9V'  
struts.i18n.encoding XLlJ|xhY-K  
      The encoding to use for localization messages P8 R^46  
      国际化信息内码 VYQ]?XF3i  
5L,q,kVS  
struts.i18n.reload S~^]ib0  
      Whether the localization messages should automatically be reloaded '^tC|)  
      是否国际化信息自动加载 )+f"J$ah  
sc z8 `%  
struts.locale Sre:l'.  
      The default locale for the Struts application )O>M~  
      默认的国际化地区信息 Q!h+1fb  
*nwH1FjH  
struts.mapper.class b[MKo7  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class B8>@q!G8P  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 5oo6d4[  
[2ri=lf,  
struts.multipart.maxSize ;V bB]aUg  
      The maximize size of a multipart request (file upload) 8L*#zaSAf  
      multipart请求信息的最大尺寸(文件上传用) ~31-)*tJ]  
4\ny]A:~  
struts.multipart.parser DK|/|C}6  
      The org.apache.struts2.dispatcher.multipart. G#6O'G N  
      MultiPartRequest parser implementation for a multipart request (file upload) 8Y;2.Z`Rz  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) g>{t>B%v^K  
|wuN`;gc"  
<4N E)!#  
struts.multipart.saveDir Q;kl-upn~8  
      The directory to use for storing uploaded files qKs"L^b  
      设置存储上传文件的目录夹 b 2~5LZ  
<@;bxSUx  
struts.objectFactory _$KkSMA~_  
      The com.opensymphony.xwork2.ObjectFactory implementation class o)H| #9h5  
      com.opensymphony.xwork2.ObjectFactory接口(spring) w} r mYQ  
J,k.*t:  
struts.objectFactory.spring.autoWire #,OiZQJC  
      Whether Spring should autoWire or not  ;ih;8  
      是否自动绑定Spring ~$YasFEz  
5Z13s  
struts.objectFactory.spring.useClassCache e?;  
      Whether Spring should use its class cache or not :d@RN+U  
      是否spring应该使用自身的cache y4Nam87;/?  
B XO,  
struts.objectTypeDeterminer |lh&l<=(f  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ULxgvq  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 l;h5Y<A%?  
>dwY( a  
struts.serve.static.browserCache Hh%|}*f_,  
If static content served by the Struts filter should set browser caching header properties or not 'i 8`LPQ  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 #2%8@?_-M  
*\^(-p~M  
struts.serve.static pK)!o  
      Whether the Struts filter should serve static content or not |j4;XaG)  
      是否struts过滤器应该提供静态内容 _ + >V(,{G  
_ FN#Vq2  
struts.tag.altSyntax MgH O WoF  
      Whether to use the alterative syntax for the tags or not ;p:CrFv  
      是否可以用替代的语法替代tags ;z~j%L%b  
,?!MVN-  
struts.ui.templateDir i$H9~tPs  
      The directory containing UI templates 'acCnn'  
      UI templates的目录夹 TZarI-A  
+ ,rl\|J%  
struts.ui.theme 'fY29Xr^  
      The default UI template theme {-yw@Kq  
      默认的UI template主题 YyC$\HH6  
>FL%H=]  
struts.url.http.port ty8E;[ '  
      The HTTP port used by Struts URLs "4.A@XsY  
      设置http端口 ![m6$G{y  
ephvvj~zW4  
struts.url.https.port &Vg)/t;  
      The HTTPS port used by Struts URLs [2z >8 SL  
      设置https端口 P#AS")Sj  
4K >z?jd  
struts.url.includeParams qG#ZYcVec  
      The default includeParams method to generate Struts URLs O*c<m,  
      在url中产生 默认的includeParams l@>@2CB  
/ &yc?Ui  
8 LsJ}c  
struts.velocity.configfile ex|h&Vma2V  
      The Velocity configuration file path #m3!U(Og`  
      velocity配置文件路径 _hEr,IX=J  
=an 0PN  
struts.velocity.contexts c>wn e\(5H  
      List of Velocity context names v R ! y#  
      velocity的context列表 4C9k0]k2  
%4Yq (e  
\Z-Fu=8J8^  
struts.velocity.manager.classname ^[b DE0  
      org.apache.struts2.views.velocity.VelocityManager implementation class 5]2 p>%G  
      org.apache.struts2.views.velocity.VelocityManager接口名 Gl9 ,!"A  
I~,bZA  
struts.velocity.toolboxlocation _BG7 JvI  
      The location of the Velocity toolbox _[N*k"  
      velocity工具盒的位置 Y$W)JWMY`  
struts.xslt.nocache [!`5kI  
      Whether or not XSLT templates should not be cached Zl?9ibm;@  
      是否XSLT模版应该被缓存 , jCE hb  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
10+5=?,请输入中文答案:十五