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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 s6@DGSJ  
oaIi2=Tf  
struts.action.extension }n>p4W"OM  
      The URL extension to use to determine if the request is meant for a Struts action H["`Mn7j2  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 MB~=f[cUnd  
E4M@WNPx  
struts.configuration t&AFU t\c  
      The org.apache.struts2.config.Configuration implementation class VT\F]Oa#  
        org.apache.struts2.config.Configuration接口名 o%IA}e7PAa  
uc){+'[  
struts.configuration.files 3R.W >U  
      A list of configuration files automatically loaded by Struts U`2e{>'4t  
      struts自动加载的一个配置文件列表 T[g[&K1Y  
9[.8cg*  
struts.configuration.xml.reload ,)vDeU  
      Whether to reload the XML configuration or not _I:/ZF5  
      是否加载xml配置(true,false) f,kZ\Ia'r  
 ']2E {V  
struts.continuations.package ;6>2"{NW  
      The package containing actions that use Rife continuations ]7Tkkw$  
      含有actions的完整连续的package名称 YTUZoW2  
7+\+DujE$  
struts.custom.i18n.resources =4FXBPoQK  
      Location of additional localization properties files to load xHD=\,{ig  
      加载附加的国际化属性文件(不包含.properties后缀) 2#c<\s|C  
ww], y@da  
struts.custom.properties R}*_~7r5  
      Location of additional configuration properties files to load +%ee8|\  
      加载附加的配置文件的位置 |#]@Z)xa  
X:vghOt?  
lPw%ErG  
struts.devMode u>2 l7PA|  
      Whether Struts is in development mode or not qVH1}9_  
      是否为struts开发模式 .\)U@L~  
&m-PC(W+  
struts.dispatcher.parametersWorkaround E87Ww,z8  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic E2R&[Q"%  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 6ZP(E^.  
LG9+y  
struts.enable.DynamicMethodInvocation PHZ0P7  
      Allows one to disable dynamic method invocation from the URL JB<Sl4  
        允许动态方法调用 `p2+&&]S  
\hDlTp }  
struts.freemarker.manager.classname H4:`6 PSL  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class |}=acc/  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 _Xk.p_uh  
-zOdU}91Ao  
struts.i18n.encoding bk;?9%TW  
      The encoding to use for localization messages }fb#G<3  
      国际化信息内码 +BETF;0D  
TQpfQ  
struts.i18n.reload dfKF%27  
      Whether the localization messages should automatically be reloaded ,!#*GZ.ix  
      是否国际化信息自动加载 C~2F9Pg  
jB%lB1Q|  
struts.locale n<O}hM ZT  
      The default locale for the Struts application 2bw_IT  
      默认的国际化地区信息 }$SavB#SBP  
k_ & :24Lj  
struts.mapper.class ,,%i;  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class <m)$K  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 D$ dfNiCH  
Xg|B \ \  
struts.multipart.maxSize /:~\5}tW  
      The maximize size of a multipart request (file upload) ,)Me  
      multipart请求信息的最大尺寸(文件上传用) MQ 5R O;RY  
z> Rsi  
struts.multipart.parser dCi?SIN  
      The org.apache.struts2.dispatcher.multipart. $'BSH4~|.  
      MultiPartRequest parser implementation for a multipart request (file upload) Pg,b-W?n*  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) + jc!5i .  
Q=;U@k@>  
&"f";  
struts.multipart.saveDir V58wU:li  
      The directory to use for storing uploaded files JTO~9>$ B  
      设置存储上传文件的目录夹 =,spvy'"*C  
nAW:utTB  
struts.objectFactory %b&". mN  
      The com.opensymphony.xwork2.ObjectFactory implementation class l{I6&^!KS  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ($au:'kU  
Cl; oi}L  
struts.objectFactory.spring.autoWire Rdvk ml@@  
      Whether Spring should autoWire or not DFZkh^PFd  
      是否自动绑定Spring I`-8Air5f  
5na~@-9p  
struts.objectFactory.spring.useClassCache ;RDh ~EV  
      Whether Spring should use its class cache or not @XLy7_}  
      是否spring应该使用自身的cache n0r+A^]  
[Dk=? +  
struts.objectTypeDeterminer KHe=O1 %QO  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class OK[T3/v,  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ^t` k0<  
-lbm* -(  
struts.serve.static.browserCache be]bZ 1f  
If static content served by the Struts filter should set browser caching header properties or not Tl(^  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 F, W~,y  
27 ]':A4_  
struts.serve.static TSTl+W  
      Whether the Struts filter should serve static content or not =mS\i663  
      是否struts过滤器应该提供静态内容 nKPYOY8^  
s )noo  
struts.tag.altSyntax `eE&5.   
      Whether to use the alterative syntax for the tags or not Y-kt.X/Z-  
      是否可以用替代的语法替代tags Zn&, t &z  
Sg&UagBj  
struts.ui.templateDir HePUWL'  
      The directory containing UI templates >80;8\  
      UI templates的目录夹 HW3 }uP\c  
B~]k#Ot)  
struts.ui.theme Aydm2!l1  
      The default UI template theme )Xk0VDNp$/  
      默认的UI template主题 7C,&*Ax,9  
O@u?h9?cf>  
struts.url.http.port Yw4n-0g  
      The HTTP port used by Struts URLs $7O}S.x  
      设置http端口 fol,xMc&  
tNO-e|~'  
struts.url.https.port \Jx04[=  
      The HTTPS port used by Struts URLs *W.C7=  
      设置https端口 <;vbsksZeH  
G,?hp>lj  
struts.url.includeParams QQ%D8$k"  
      The default includeParams method to generate Struts URLs "$#xK|t  
      在url中产生 默认的includeParams ;YA(|h<  
|SoCRjuCPM  
}YB*]<]  
struts.velocity.configfile :o|\"3  
      The Velocity configuration file path \w/yF4,3<w  
      velocity配置文件路径 jr)1(**  
LxYrl-  
struts.velocity.contexts 13=A  
      List of Velocity context names [$qyF|/K`n  
      velocity的context列表 v25R_""~  
4" Cb/y3  
"S8uoSF`>  
struts.velocity.manager.classname vMA]j>>  
      org.apache.struts2.views.velocity.VelocityManager implementation class *,e:]!*  
      org.apache.struts2.views.velocity.VelocityManager接口名 j/R[<47  
Ja,wfRq  
struts.velocity.toolboxlocation s3~lT.  
      The location of the Velocity toolbox &M46&^Jho  
      velocity工具盒的位置 kStnb?nk  
struts.xslt.nocache 5Sm}n H  
      Whether or not XSLT templates should not be cached  a][f  
      是否XSLT模版应该被缓存 G9Y#kBr  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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