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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 /-{C,+cB  
K@RE-K6{  
struts.action.extension %oee x1`=  
      The URL extension to use to determine if the request is meant for a Struts action yF [|dB  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 @k|V4  
aa-{,X"MF  
struts.configuration ryC7O'j_P  
      The org.apache.struts2.config.Configuration implementation class b6]MJ0do  
        org.apache.struts2.config.Configuration接口名 3dl#:Si  
cs-wqxTX[$  
struts.configuration.files ?W27 h  
      A list of configuration files automatically loaded by Struts /s/\5-U7q  
      struts自动加载的一个配置文件列表 |H .  
kWSei3  
struts.configuration.xml.reload o0Z~9iF&  
      Whether to reload the XML configuration or not ep,"@,,  
      是否加载xml配置(true,false) C>MEgGP  
>.xg o6  
struts.continuations.package $ ;J:kd;<  
      The package containing actions that use Rife continuations '5f6 M^}|2  
      含有actions的完整连续的package名称 7o99@K,  
N=vb*3ECg  
struts.custom.i18n.resources _nn\O3TB  
      Location of additional localization properties files to load U8>M`e"D  
      加载附加的国际化属性文件(不包含.properties后缀) 'joc8o sS  
s7789pR  
struts.custom.properties *XCgl*% *  
      Location of additional configuration properties files to load h1_9Xp~N  
      加载附加的配置文件的位置 8kRqF?rbj  
|/YwMBi  
"p"M9P'  
struts.devMode e`7dRnx&0  
      Whether Struts is in development mode or not *WQl#JAr  
      是否为struts开发模式 K/;*.u`:  
J#/L}h;qH  
struts.dispatcher.parametersWorkaround ##\ <mFE  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Xc}~_.]  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) FD1Z}v!5IJ  
=O.%)|  
struts.enable.DynamicMethodInvocation H\PY\O&cP  
      Allows one to disable dynamic method invocation from the URL m4m,-}KNi  
        允许动态方法调用 J ,s9,("  
iVUkM3  
struts.freemarker.manager.classname &{R]v/{p]  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class SK]"JSY`  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 f|r +qe  
4nz$J a)  
struts.i18n.encoding  {F'~1qf  
      The encoding to use for localization messages 1y{@fg~..  
      国际化信息内码 y@'~fI!E4  
ir?Y>  
struts.i18n.reload =qNZ7>Qw  
      Whether the localization messages should automatically be reloaded bC SgdK  
      是否国际化信息自动加载 &F 3'tf?  
+ lNAog  
struts.locale 4iPxtVT  
      The default locale for the Struts application X }""= S<  
      默认的国际化地区信息 wvnuE<o8  
CKuf'h#  
struts.mapper.class 37U2Tb!y '  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class qt.Y6s:r_  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 gP^p7aYwn  
D8O&`!mf  
struts.multipart.maxSize |bM?Q$>~  
      The maximize size of a multipart request (file upload) Cvgk67C=$  
      multipart请求信息的最大尺寸(文件上传用) .B?J@,  
~USU\dni  
struts.multipart.parser 9^zA(  
      The org.apache.struts2.dispatcher.multipart. oScKL#Hu  
      MultiPartRequest parser implementation for a multipart request (file upload) r.vezsH  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) * ak"}s  
@&F\M}  
T!ik"YZ@i  
struts.multipart.saveDir 'VQ mK#  
      The directory to use for storing uploaded files 0{k*SCN#  
      设置存储上传文件的目录夹 qJZ:\u8oO  
bkSI1m3  
struts.objectFactory LvcGh  
      The com.opensymphony.xwork2.ObjectFactory implementation class Mv1V Vk  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ln*_mM/Q%  
BIn7<.&  
struts.objectFactory.spring.autoWire ;XDGlv%  
      Whether Spring should autoWire or not R]xXG0  
      是否自动绑定Spring *B0 7-  
L>X39R~  
struts.objectFactory.spring.useClassCache VUbg{Rb)  
      Whether Spring should use its class cache or not An2Wj  
      是否spring应该使用自身的cache 6?uo6 I  
Z&M fE0F/B  
struts.objectTypeDeterminer <], ~V\m  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class {{+woL'C  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ;p] f5R^  
>VE!3'/'  
struts.serve.static.browserCache J12hjzk6@  
If static content served by the Struts filter should set browser caching header properties or not UPr8Q^wm  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 g>&b&X&Y_  
QP={b+8  
struts.serve.static 7jtDhsVz  
      Whether the Struts filter should serve static content or not /)LI1\ o  
      是否struts过滤器应该提供静态内容 r)/nx@x  
IuOY.c2.u  
struts.tag.altSyntax q s 0'}>  
      Whether to use the alterative syntax for the tags or not m{ VC1BkZ  
      是否可以用替代的语法替代tags 9i`sSi8   
iL\eMa  
struts.ui.templateDir <`Q*I Y  
      The directory containing UI templates n^+rxG6 L  
      UI templates的目录夹 j{: >"6  
_N2tf/C&=  
struts.ui.theme /2jw]ekQ'  
      The default UI template theme Y?b4* me  
      默认的UI template主题 0<4Sw j3s7  
m! H7;S-(  
struts.url.http.port #>[5NQ;$'  
      The HTTP port used by Struts URLs p(`?y:.3  
      设置http端口 2[e^mm&.   
YjTA+1}  
struts.url.https.port n+94./Mh  
      The HTTPS port used by Struts URLs MET"s.v  
      设置https端口 G&f~A;'7k  
go[(N6hN  
struts.url.includeParams r_?il]l  
      The default includeParams method to generate Struts URLs f83Tl~  
      在url中产生 默认的includeParams 0X: :<N@  
Vt;!FZ  
N8K @ch3=P  
struts.velocity.configfile 50 VH>b_  
      The Velocity configuration file path *E1v  
      velocity配置文件路径 J[7|Ul1 <  
{I"`(  
struts.velocity.contexts 9! 6\8  
      List of Velocity context names mO~A}/je  
      velocity的context列表 6d%'>^`(o-  
"<LVA2v;  
|8<P%:*N  
struts.velocity.manager.classname Ej7>ywlW  
      org.apache.struts2.views.velocity.VelocityManager implementation class tc4"huG  
      org.apache.struts2.views.velocity.VelocityManager接口名 TLC&@o :  
#5a'Z+  
struts.velocity.toolboxlocation l;'#!hC)  
      The location of the Velocity toolbox Btu=MUS  
      velocity工具盒的位置 d%C :%d  
struts.xslt.nocache dX vp-oi  
      Whether or not XSLT templates should not be cached kIlK"=  
      是否XSLT模版应该被缓存 ;+W9EbY2  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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