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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 Zj9c9  
hf<J \   
struts.action.extension MDa7 B +4  
      The URL extension to use to determine if the request is meant for a Struts action qYB~VE03  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Nh!_l  
6z,Dyy]tl  
struts.configuration GF<[}  
      The org.apache.struts2.config.Configuration implementation class V2d,ksKwn  
        org.apache.struts2.config.Configuration接口名 Kx`/\u=/  
+Wn&,?3^  
struts.configuration.files %:9oDK  
      A list of configuration files automatically loaded by Struts 0~WF{_0|  
      struts自动加载的一个配置文件列表 J5p8nmb  
&l2TeC@;  
struts.configuration.xml.reload '?5j[:QY@  
      Whether to reload the XML configuration or not -apXI.  
      是否加载xml配置(true,false) tD=@SX'Y  
DocbxB={I  
struts.continuations.package L EWhb!U  
      The package containing actions that use Rife continuations `#s#it'y  
      含有actions的完整连续的package名称 ~W#sTrK  
|i %2%V#  
struts.custom.i18n.resources ^_5|BT@  
      Location of additional localization properties files to load &Z("D7.G  
      加载附加的国际化属性文件(不包含.properties后缀) EMvHFu   
,XKCz ]8V  
struts.custom.properties sH#X0fG  
      Location of additional configuration properties files to load B|Wk?w.{r\  
      加载附加的配置文件的位置 :3ZYJW1  
$K}DB N; 4  
DT(d@upH  
struts.devMode }^ FulsC  
      Whether Struts is in development mode or not l$Gl'R>>*  
      是否为struts开发模式 UmU:j@ xvg  
S]/b\ B.h+  
struts.dispatcher.parametersWorkaround PO-"M)M  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 5p"BD'^:  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) U]6&b  
&m^@9E)S/  
struts.enable.DynamicMethodInvocation (GK pA}~R  
      Allows one to disable dynamic method invocation from the URL 'o4p#`R:8  
        允许动态方法调用 XFwLz  
{<$b Aj  
struts.freemarker.manager.classname f'En#-?O  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class aE VsU|  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 r|<DqTc6l  
Ww3wsyx  
struts.i18n.encoding 2B1xUj ]  
      The encoding to use for localization messages yJx?M  
      国际化信息内码 VU.@R,  
>7Jr^o#|_x  
struts.i18n.reload EM j;2!  
      Whether the localization messages should automatically be reloaded Fzq41jiS  
      是否国际化信息自动加载 A&5:ATQ/|  
5N7H{vT_  
struts.locale @I3eK^#|P  
      The default locale for the Struts application q1VH5'p@  
      默认的国际化地区信息 77 r(*.O|  
vG.9 H_&  
struts.mapper.class T3%C%BcX  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class k\)Cw  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 .10y0F L4  
h:bru:ef  
struts.multipart.maxSize L{{CAB!  
      The maximize size of a multipart request (file upload) O~Wt600{E  
      multipart请求信息的最大尺寸(文件上传用) s Kicn5  
9]'&RyH=#  
struts.multipart.parser {jKI^aC<[  
      The org.apache.struts2.dispatcher.multipart. V\5 L?}  
      MultiPartRequest parser implementation for a multipart request (file upload) G5.nPsuM   
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) = duks\)O  
M" lg%j  
3.Gj4/f  
struts.multipart.saveDir Cr ? 4Ngw  
      The directory to use for storing uploaded files "hz\Z0zg2  
      设置存储上传文件的目录夹 yzsab ^]  
K{fsn4rk  
struts.objectFactory &K+0xnUH  
      The com.opensymphony.xwork2.ObjectFactory implementation class "B7`'jz  
      com.opensymphony.xwork2.ObjectFactory接口(spring) xG2F!WeF  
'_P\#7$!MV  
struts.objectFactory.spring.autoWire t ~7V { xk  
      Whether Spring should autoWire or not z;\dL  
      是否自动绑定Spring ?`_jFj+<\S  
yCz|{=7"j  
struts.objectFactory.spring.useClassCache d4?d4;{  
      Whether Spring should use its class cache or not @Yw,nQE)b  
      是否spring应该使用自身的cache `\u;K9S6  
G bP!9I  
struts.objectTypeDeterminer tiPa6tQ  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class E-5_{sc  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 O\KQl0*l\\  
F/c$v  
struts.serve.static.browserCache sJx+8 -  
If static content served by the Struts filter should set browser caching header properties or not &[mZD,  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ./6<r OW  
m^~S  
struts.serve.static eJCjJ)  
      Whether the Struts filter should serve static content or not 6vKS".4C  
      是否struts过滤器应该提供静态内容 una%[jTc  
nKr9#JebRC  
struts.tag.altSyntax K4Dp:2/K%  
      Whether to use the alterative syntax for the tags or not {svn=H /  
      是否可以用替代的语法替代tags Y/ot3[  
^eYqll/U  
struts.ui.templateDir SO\/-]9#  
      The directory containing UI templates 7%?jL9Vw  
      UI templates的目录夹 _,74)l1  
yF._*9Q3hK  
struts.ui.theme FyoEQ%.bI  
      The default UI template theme B$Z3+$hfF  
      默认的UI template主题 P,DC7\  
?L) !pP]  
struts.url.http.port RkEN ,xWE  
      The HTTP port used by Struts URLs gR^>3n'  
      设置http端口 ~ (On|h  
-Ng'<7  
struts.url.https.port Flxvhl)L  
      The HTTPS port used by Struts URLs 6R;3%-D  
      设置https端口 T\s)le  
zLw{ {|  
struts.url.includeParams BI?@1q}:  
      The default includeParams method to generate Struts URLs zh I#f0c  
      在url中产生 默认的includeParams S8Fmy1#  
/c2 'dJ(H  
~I}9;XT  
struts.velocity.configfile ?|{XZQ~  
      The Velocity configuration file path 3oZ=k]\  
      velocity配置文件路径 0yM[Z':i'{  
W/ay.I  
struts.velocity.contexts 3-Dt[0%{  
      List of Velocity context names ?jQ](i&  
      velocity的context列表 :p&!RI(l  
W=B"Q qL  
AwUi+|7r])  
struts.velocity.manager.classname /.Nov  
      org.apache.struts2.views.velocity.VelocityManager implementation class <N,)G |&  
      org.apache.struts2.views.velocity.VelocityManager接口名 6(|d|Si *c  
RPnRVJ&"Z  
struts.velocity.toolboxlocation RR;AJ8wd  
      The location of the Velocity toolbox `i +g{kE2M  
      velocity工具盒的位置 ysIh[1E~%:  
struts.xslt.nocache nz1'?_5  
      Whether or not XSLT templates should not be cached )+")Sz3zx  
      是否XSLT模版应该被缓存 -m= 8&B  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八