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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 `5~7IPl3  
hP?7zz$*j  
struts.action.extension 7^ 4jcfJH  
      The URL extension to use to determine if the request is meant for a Struts action g[/^cJHQ  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 O$a#2p&  
}l~]b3@qu  
struts.configuration ; ;<J x.  
      The org.apache.struts2.config.Configuration implementation class l`SK*Bm~<  
        org.apache.struts2.config.Configuration接口名 ./$ <J6-J  
q1H=/[a  
struts.configuration.files 53B.2 4Tm  
      A list of configuration files automatically loaded by Struts S[v Rw]*  
      struts自动加载的一个配置文件列表 EPc!p>  
fD'/#sA#'  
struts.configuration.xml.reload XZ} de%U1  
      Whether to reload the XML configuration or not `)"tO&Fn  
      是否加载xml配置(true,false) lp(Nv(S  
cL#-*_(  
struts.continuations.package cv3L&zg M  
      The package containing actions that use Rife continuations 3 h#s([uL  
      含有actions的完整连续的package名称 aiYo8+{!#  
kEO1TS  
struts.custom.i18n.resources _*Pfp+if  
      Location of additional localization properties files to load aC`Li^  
      加载附加的国际化属性文件(不包含.properties后缀) }/20%fP  
Bb~5& @M|N  
struts.custom.properties d+tj%7  
      Location of additional configuration properties files to load 0f1H8zV  
      加载附加的配置文件的位置 ASR-a't6  
wTT RoeJ}  
9hy'DcSy,  
struts.devMode lqF>=15  
      Whether Struts is in development mode or not ~L~]QN\3  
      是否为struts开发模式 [q'eEN G  
v{o? #Sk1  
struts.dispatcher.parametersWorkaround cST\~SUm  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic >;,gGH  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ei@3,{~5  
D}MoNE[r  
struts.enable.DynamicMethodInvocation W+8^P( K  
      Allows one to disable dynamic method invocation from the URL 8/Mx5~ R  
        允许动态方法调用 TM0b-W (H  
R;r|cep  
struts.freemarker.manager.classname kfXS_\@iW1  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class aVP5%  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 Vc|NL^  
*%X.ym'  
struts.i18n.encoding T8U[xu.>  
      The encoding to use for localization messages ^uhxURF  
      国际化信息内码 S/VA~,KCe;  
Q\|18wkW  
struts.i18n.reload 4Q;<Q"  
      Whether the localization messages should automatically be reloaded Lx%:t YZ  
      是否国际化信息自动加载 HcA[QBh  
[<yz)<<  
struts.locale v;Es^ YI  
      The default locale for the Struts application WHP;Neb6  
      默认的国际化地区信息 RK-x?ZYH'  
p'}lN|"{O  
struts.mapper.class Je^Y&a~  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class vevf[eO-  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 |CwG3&8  
N+NK`  
struts.multipart.maxSize 7aQ n;  
      The maximize size of a multipart request (file upload) 6GzzG P^  
      multipart请求信息的最大尺寸(文件上传用) :9`qogF>  
4`s)ue  
struts.multipart.parser Ir/:d]N*  
      The org.apache.struts2.dispatcher.multipart. \#++s&06  
      MultiPartRequest parser implementation for a multipart request (file upload) &U&Zo@ot"x  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) (xL :;  
ailG./I+  
+#~O'r]%GG  
struts.multipart.saveDir j{)~QD?  
      The directory to use for storing uploaded files jB!W2~Z  
      设置存储上传文件的目录夹 Y''6NGf  
eQ<xp A  
struts.objectFactory OF8WDo`  
      The com.opensymphony.xwork2.ObjectFactory implementation class 12lEs3  
      com.opensymphony.xwork2.ObjectFactory接口(spring) "R23Pi  
i j/o;_  
struts.objectFactory.spring.autoWire _dr*`yXi  
      Whether Spring should autoWire or not 3za`>bUN  
      是否自动绑定Spring j7}lF?cJ2  
MKC$;>i  
struts.objectFactory.spring.useClassCache V\AK6U@r^  
      Whether Spring should use its class cache or not l<xFnj  
      是否spring应该使用自身的cache wWTQ6~Y%d  
e\r7BW\Y  
struts.objectTypeDeterminer pDOM:lGya  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class K6hfauWd[  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 hO6RQ0Iv@  
0wFh%/:  
struts.serve.static.browserCache &DLhb90  
If static content served by the Struts filter should set browser caching header properties or not ~ M*gsW$  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 y"-{$N  
4)^vMG&  
struts.serve.static RL*]g*  
      Whether the Struts filter should serve static content or not TT7PQf >  
      是否struts过滤器应该提供静态内容 (B:uc_+  
{2:d` fqD  
struts.tag.altSyntax (;UP%H>  
      Whether to use the alterative syntax for the tags or not /lJjQ]c;>  
      是否可以用替代的语法替代tags 59i]  
PBrnzkoY  
struts.ui.templateDir nLJBq)i  
      The directory containing UI templates =Z`0>R`  
      UI templates的目录夹 u s`}  
U Du~2%  
struts.ui.theme HN68!v}C|  
      The default UI template theme ;&kn"b}G;  
      默认的UI template主题 iNJAZ6@+  
 hgO?+x  
struts.url.http.port K_#UZA< Y  
      The HTTP port used by Struts URLs c&*l"  
      设置http端口 {y6C0A*  
5 `=KyHi:b  
struts.url.https.port D0ruTS  
      The HTTPS port used by Struts URLs TsD;Kl1  
      设置https端口 v459},!P  
3ji:O T  
struts.url.includeParams + |C=ZU  
      The default includeParams method to generate Struts URLs ^f|<R8`  
      在url中产生 默认的includeParams -~O/NX  
o/1JO_41  
RZh}:  
struts.velocity.configfile X+iK<F$  
      The Velocity configuration file path !M(:U,?B  
      velocity配置文件路径 g$w6kz_[  
A(+:S"|@  
struts.velocity.contexts Hf%_}Du /`  
      List of Velocity context names e+@xs n3  
      velocity的context列表 QNArZ6UQ  
:l"dYfl  
t$ZkdF  
struts.velocity.manager.classname J3=BE2L  
      org.apache.struts2.views.velocity.VelocityManager implementation class *1bzg/T<  
      org.apache.struts2.views.velocity.VelocityManager接口名 "IwM:v  
)0-o%- e  
struts.velocity.toolboxlocation m7m \`;  
      The location of the Velocity toolbox cPuHLwwYf  
      velocity工具盒的位置 _whF^g8  
struts.xslt.nocache |<(t}}X  
      Whether or not XSLT templates should not be cached XLb0 9;  
      是否XSLT模版应该被缓存 tjxvN 4l  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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