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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 |]]Rp  
nS]Ih0( K  
struts.action.extension o^+g2;Ro  
      The URL extension to use to determine if the request is meant for a Struts action +7j7zpw  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 WTwura,  
M^0^l9w  
struts.configuration e]D TK*W~  
      The org.apache.struts2.config.Configuration implementation class ~2O1$ou  
        org.apache.struts2.config.Configuration接口名 m*` W&k[  
3($tD*!o  
struts.configuration.files ]~\%ANoi  
      A list of configuration files automatically loaded by Struts ,AyQCUz{*?  
      struts自动加载的一个配置文件列表 ;:8SN&).  
HA~BXxa/  
struts.configuration.xml.reload tfPe-U  
      Whether to reload the XML configuration or not 4AYW'j C  
      是否加载xml配置(true,false) {r_x\VC=p  
:Kk+wp}f #  
struts.continuations.package >!% +)  
      The package containing actions that use Rife continuations ~!"z`&  
      含有actions的完整连续的package名称 Wn5xX5H C  
#%.fsJNA$  
struts.custom.i18n.resources q!<n\X3]u  
      Location of additional localization properties files to load ~U1M -<IX  
      加载附加的国际化属性文件(不包含.properties后缀) y@Ak_]{b  
ABU~V+'2  
struts.custom.properties =[YjIWr#o  
      Location of additional configuration properties files to load B0m2SUC,H  
      加载附加的配置文件的位置 &cT@MV5  
`bjPOA(g  
"$e p=h+  
struts.devMode 1.z]/cx<y  
      Whether Struts is in development mode or not \)2~o N  
      是否为struts开发模式 lj@ ibA]  
kw5`KfG9  
struts.dispatcher.parametersWorkaround Dj'+,{7,u  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic @H8CU!J  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) U\(T<WX,  
=o_zsDv  
struts.enable.DynamicMethodInvocation zUz j F  
      Allows one to disable dynamic method invocation from the URL %dq |)r  
        允许动态方法调用 *q0vp^?  
T49^  
struts.freemarker.manager.classname 5`{u! QE  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class x k&# fW^r  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 Rz=wInFs  
~jMfm~  
struts.i18n.encoding E/3<8cV  
      The encoding to use for localization messages u*8x.UE8C0  
      国际化信息内码 Imz1"+E~  
C ,#D4  
struts.i18n.reload PbY=?>0z  
      Whether the localization messages should automatically be reloaded \Z$MH`_nu  
      是否国际化信息自动加载 P5oYv  
?pkGejcQ  
struts.locale -~&T0dt~  
      The default locale for the Struts application KdLj1T  
      默认的国际化地区信息 dW Vm'd  
-H"^;37T"  
struts.mapper.class ^2"3h$DJfS  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class RpU.v `  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ]I(<hDuRp  
aU%QJ#j  
struts.multipart.maxSize Io]KlR@!T  
      The maximize size of a multipart request (file upload) qw}. QwPT  
      multipart请求信息的最大尺寸(文件上传用) `0Xs!f  
=4LyE6  
struts.multipart.parser NJPp6RZ%  
      The org.apache.struts2.dispatcher.multipart. 3/EJ^C  
      MultiPartRequest parser implementation for a multipart request (file upload) SVqKG+{My  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 1NQU96  
)X 'ln  
F 8 gw3  
struts.multipart.saveDir !_+ok$"d  
      The directory to use for storing uploaded files x1`zD*{  
      设置存储上传文件的目录夹 E\*M4n\!  
M6"a w6  
struts.objectFactory {{ +8oRzY  
      The com.opensymphony.xwork2.ObjectFactory implementation class dS;Ui]/J  
      com.opensymphony.xwork2.ObjectFactory接口(spring) \>c1Z5H>  
TS@U0Ror  
struts.objectFactory.spring.autoWire 7 MG<!U  
      Whether Spring should autoWire or not 4[n[Ch=lu  
      是否自动绑定Spring +=#@1k~  
%(izKJl q  
struts.objectFactory.spring.useClassCache {lNG:o  
      Whether Spring should use its class cache or not _!^2A3c<  
      是否spring应该使用自身的cache Y(h (Z  
RW^e#z>m"E  
struts.objectTypeDeterminer :\"g}AX  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 5 IFc"  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 y{J7^o(_~  
$c7Utm s  
struts.serve.static.browserCache %Hy.  
If static content served by the Struts filter should set browser caching header properties or not X oh@(%  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 $fQ'q3  
w! ':Ws  
struts.serve.static TZw['o  
      Whether the Struts filter should serve static content or not lCJ/@)  
      是否struts过滤器应该提供静态内容 KBwY _  
0oo*F  
struts.tag.altSyntax ?EA&kZR]  
      Whether to use the alterative syntax for the tags or not vze|*dKS  
      是否可以用替代的语法替代tags qWb8"  
{|R +|ow  
struts.ui.templateDir la 89>pF  
      The directory containing UI templates  h3z9}'  
      UI templates的目录夹 sm at6p[  
A5%cgr% 6  
struts.ui.theme %DuSco"  
      The default UI template theme qz.WF8Sy2  
      默认的UI template主题 `a]feAl  
CAbT9W z&  
struts.url.http.port $QJ,V~  
      The HTTP port used by Struts URLs ~Ut?'}L( d  
      设置http端口 \v p^[,SI  
dyuT-.2  
struts.url.https.port 7*g'4p-  
      The HTTPS port used by Struts URLs 9RJFj?^"  
      设置https端口 0{sYD*gK]  
>3)AO04=;  
struts.url.includeParams GFgh{'|  
      The default includeParams method to generate Struts URLs q.v_?X<_  
      在url中产生 默认的includeParams ?tf<AZ=+^L  
|eH*Q%M  
yr34&M(a  
struts.velocity.configfile xQ\S!py-  
      The Velocity configuration file path s-),Pv|  
      velocity配置文件路径 T#D*B]oZ}  
+ wF5(  
struts.velocity.contexts Rmh u"N/q  
      List of Velocity context names NA9ss  
      velocity的context列表 J|N>}di  
HOlMj!.  
`g:bvIV5x>  
struts.velocity.manager.classname 8|-064i>  
      org.apache.struts2.views.velocity.VelocityManager implementation class sH\ h{^  
      org.apache.struts2.views.velocity.VelocityManager接口名 d6{0[T^L  
y\}<N6  
struts.velocity.toolboxlocation l#;o^H i  
      The location of the Velocity toolbox H?)?(t7@  
      velocity工具盒的位置 4zx_L8#Z  
struts.xslt.nocache # 3gdT  
      Whether or not XSLT templates should not be cached &1ss @-  
      是否XSLT模版应该被缓存 DWcEl:  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八