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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 sdo [D  
#n8IZ3+  
struts.action.extension 5f 5f0|ok  
      The URL extension to use to determine if the request is meant for a Struts action 6g)G Y"49  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 , JQp'e  
V]db'qB\  
struts.configuration VB*oGG  
      The org.apache.struts2.config.Configuration implementation class ?snp8W-WB  
        org.apache.struts2.config.Configuration接口名 \}|o1Xh2  
Sxh]R+Xb  
struts.configuration.files |0f>aZ  
      A list of configuration files automatically loaded by Struts r<d_[?1N  
      struts自动加载的一个配置文件列表 D1=((`v '  
mUik A9u5=  
struts.configuration.xml.reload Z '7  
      Whether to reload the XML configuration or not %Da1(bBh  
      是否加载xml配置(true,false) WL"^>[Vq  
jr:7?8cH0L  
struts.continuations.package SR |`!  
      The package containing actions that use Rife continuations @/ohg0  
      含有actions的完整连续的package名称 pz.JWCU1  
XLrwxj0  
struts.custom.i18n.resources }*S `qW;B  
      Location of additional localization properties files to load $arK(  
      加载附加的国际化属性文件(不包含.properties后缀) YF>m$?;  
M# %a(Y3K)  
struts.custom.properties YOmM=X+'H  
      Location of additional configuration properties files to load  KJaXg;,H  
      加载附加的配置文件的位置 8b;1F Q'  
f@|A[>"V  
6"&6 `f  
struts.devMode "ozr+:#\  
      Whether Struts is in development mode or not t^G"f;Ra+  
      是否为struts开发模式 &keR~~/  
eEv@}1~  
struts.dispatcher.parametersWorkaround `ux{;4q  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic I7n"&{s"*  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) (<xfCH F5  
\=ux atw  
struts.enable.DynamicMethodInvocation Ni-xx9)=  
      Allows one to disable dynamic method invocation from the URL 9\BT0kx  
        允许动态方法调用 g'n7T|h ~  
Zy?Hi`  
struts.freemarker.manager.classname zGkS^Z=(  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class /)}q Xx&  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 \kMefU  
!W}9no  
struts.i18n.encoding afuOeZP  
      The encoding to use for localization messages deV  8  
      国际化信息内码 'm FqE n  
L(|N[#  
struts.i18n.reload c]n1':FT"  
      Whether the localization messages should automatically be reloaded 7'W%blg!V  
      是否国际化信息自动加载 ?R$F)g7<  
qzKdQ&vO  
struts.locale xqG[~)~  
      The default locale for the Struts application [ 0KlC1=  
      默认的国际化地区信息 xy/`ZS2WPq  
J\:R|KaP<p  
struts.mapper.class 7WkB>cn  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class V k  K  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ^cP!\E-^  
%7IugHH9y  
struts.multipart.maxSize zuJ@E=7  
      The maximize size of a multipart request (file upload) KWowN;  
      multipart请求信息的最大尺寸(文件上传用) 7byK{{/z  
Cz\e w B  
struts.multipart.parser !sQY&*  
      The org.apache.struts2.dispatcher.multipart. ZojI R\F^  
      MultiPartRequest parser implementation for a multipart request (file upload) ff,pvk8N5  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) _VRpI)mu  
Vt %bI0#  
5HkKurab  
struts.multipart.saveDir 5 ZGNz1)?V  
      The directory to use for storing uploaded files jjw`Dto&  
      设置存储上传文件的目录夹 }@'$b<!B  
]6(N@RC  
struts.objectFactory .f%fHj  
      The com.opensymphony.xwork2.ObjectFactory implementation class K1"*.\?F  
      com.opensymphony.xwork2.ObjectFactory接口(spring) V3Q+s8OIF  
bMg(B-uF7  
struts.objectFactory.spring.autoWire Ui_8)z _  
      Whether Spring should autoWire or not |ef7bKU8  
      是否自动绑定Spring eTI%^d|  
aQ?/%\>  
struts.objectFactory.spring.useClassCache \r^qL^  
      Whether Spring should use its class cache or not }Jy8.<Gd^  
      是否spring应该使用自身的cache V@e?#iz  
LrM=*R h,O  
struts.objectTypeDeterminer DCIxRPw  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class (C-{B[Y  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 r3&G)g=u  
|[<_GQl  
struts.serve.static.browserCache U@_dm/;0&  
If static content served by the Struts filter should set browser caching header properties or not EUD~CZhS"k  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 , pDnRRJ!  
NO "xL,  
struts.serve.static F\JM\{&F  
      Whether the Struts filter should serve static content or not #>b3"[ |  
      是否struts过滤器应该提供静态内容 Neq+16*u  
D/Z6C&/I  
struts.tag.altSyntax h)ECf?r<  
      Whether to use the alterative syntax for the tags or not QR c{vUR&  
      是否可以用替代的语法替代tags w28o}$b`  
@=bLDTx;c)  
struts.ui.templateDir Q('r<v96  
      The directory containing UI templates `5cKA;j>b  
      UI templates的目录夹 &S{RGXj_  
xu/cq9  
struts.ui.theme 1an^1!  
      The default UI template theme T! Y@`Ox  
      默认的UI template主题 R} eN@#"D  
kO.%9wFbz  
struts.url.http.port =x%dNf$e{W  
      The HTTP port used by Struts URLs 2h|MXI\g  
      设置http端口 b#uL?f  
@| M|+k3  
struts.url.https.port @Lpq~ 1eZB  
      The HTTPS port used by Struts URLs \\PjKAsh  
      设置https端口 $UMFNjL  
Ygm`ZA y  
struts.url.includeParams eJF5n#  
      The default includeParams method to generate Struts URLs 8p^bD}lN7  
      在url中产生 默认的includeParams cv-PRH#  
?]|\4]zV  
?{P"O!I{  
struts.velocity.configfile @TLS<~  
      The Velocity configuration file path QwNly4  
      velocity配置文件路径 !O+) sbd<  
"cE7 5  
struts.velocity.contexts dsb`xw  
      List of Velocity context names ^=BTz9QM  
      velocity的context列表 63q^ $I  
]e"=$2d$  
9Tg IB  
struts.velocity.manager.classname 'DY`jVwa  
      org.apache.struts2.views.velocity.VelocityManager implementation class ~ Sg5:T3  
      org.apache.struts2.views.velocity.VelocityManager接口名 b*;Si7-  
9oyE$S h]  
struts.velocity.toolboxlocation 04LI]'  
      The location of the Velocity toolbox <{dVKf,e  
      velocity工具盒的位置 r@72|:,  
struts.xslt.nocache "Q}#^h]F  
      Whether or not XSLT templates should not be cached ^ZvWR%  
      是否XSLT模版应该被缓存 sv: 9clJ  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八