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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 PHB\)/  
u.xA}yVS  
struts.action.extension _oyL*Cb  
      The URL extension to use to determine if the request is meant for a Struts action oeU+?-y/b  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 J3!k*"P  
f|HgLFx  
struts.configuration vr]dRStr  
      The org.apache.struts2.config.Configuration implementation class  :L+zUlsf  
        org.apache.struts2.config.Configuration接口名 EZu  
"}azC|:5  
struts.configuration.files R}=]UOqH-  
      A list of configuration files automatically loaded by Struts m<VL19o>R  
      struts自动加载的一个配置文件列表 E rRMiT  
xX67bswG  
struts.configuration.xml.reload WY ^K7U  
      Whether to reload the XML configuration or not BfO}4  
      是否加载xml配置(true,false) :Q%yW%St$  
)="g?E3  
struts.continuations.package gs2&0rnOy\  
      The package containing actions that use Rife continuations &`9bGO  
      含有actions的完整连续的package名称 C J}4V!;|  
nh_xbo5L[  
struts.custom.i18n.resources 70 D Q/b  
      Location of additional localization properties files to load j(2tbWg9-  
      加载附加的国际化属性文件(不包含.properties后缀) oU{-B$w  
8i+jFSZ$  
struts.custom.properties C^ k3*N  
      Location of additional configuration properties files to load v(WL 3[y;  
      加载附加的配置文件的位置 # xE>]U  
s9)8{z  
hrtN.4p[  
struts.devMode I[YfF  
      Whether Struts is in development mode or not )-7(Hv1  
      是否为struts开发模式 l=.InSuLT  
DyV[+P  
struts.dispatcher.parametersWorkaround (j\UoKLRt  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic TTjjyZ@  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) _M[[o5{  
}N=zn7W  
struts.enable.DynamicMethodInvocation k@X As  
      Allows one to disable dynamic method invocation from the URL [O =)FiY-  
        允许动态方法调用 Ql!6I(  
eXtF[0f  
struts.freemarker.manager.classname ~s^6Q#Z9|  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class fTnyCaB  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 1 </t #r  
Zi'8~iEH  
struts.i18n.encoding /:];2P6#X  
      The encoding to use for localization messages q.Aw!]:!  
      国际化信息内码 mm~o%1|WR  
- &LZle&M  
struts.i18n.reload I5 7<0  
      Whether the localization messages should automatically be reloaded K%~Kg9  
      是否国际化信息自动加载 {s^n|b}  
So0,)  
struts.locale W!Os ci  
      The default locale for the Struts application kO O~%|1CP  
      默认的国际化地区信息 O#ajoE  
N,'qMoNf  
struts.mapper.class ( ]uoN4  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ;{#M  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 /t2 <OU9  
4rCqN.J  
struts.multipart.maxSize e2H'uMy;&  
      The maximize size of a multipart request (file upload) SOY#, Zu  
      multipart请求信息的最大尺寸(文件上传用) oZ>]8vw  
Kh_>Vm/  
struts.multipart.parser vt7C  
      The org.apache.struts2.dispatcher.multipart. :=fHPT  
      MultiPartRequest parser implementation for a multipart request (file upload) E~U|v'GCd  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ZtZV:re=  
a[OLS+zf!P  
A&|(%  
struts.multipart.saveDir m_W.r+s~C4  
      The directory to use for storing uploaded files uTF EI.N  
      设置存储上传文件的目录夹 vVRCM  
[75e\=wK  
struts.objectFactory XsCbJ[Z_?q  
      The com.opensymphony.xwork2.ObjectFactory implementation class 8Y kH  
      com.opensymphony.xwork2.ObjectFactory接口(spring) i7E7%~S  
Q? |MBTo  
struts.objectFactory.spring.autoWire k{&E}:A  
      Whether Spring should autoWire or not =cX"gI[  
      是否自动绑定Spring X| 0`$f  
{.[,ee-)9  
struts.objectFactory.spring.useClassCache v}t :}M<;  
      Whether Spring should use its class cache or not "h|0]y^2  
      是否spring应该使用自身的cache D+nj[8y  
@G&xq "Fg7  
struts.objectTypeDeterminer 04LVa|Y@U  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class :'Kx?Es   
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 mr\L q~*c  
F973U  
struts.serve.static.browserCache <qZ+U4@I)  
If static content served by the Struts filter should set browser caching header properties or not "U~@o4u;  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 <cd%n-  
c35vjYQx0  
struts.serve.static WUQh[A41  
      Whether the Struts filter should serve static content or not Fd=`9N9  
      是否struts过滤器应该提供静态内容 @g` ,'r  
JaN_[ou  
struts.tag.altSyntax `9NnL.w!  
      Whether to use the alterative syntax for the tags or not I ywx1ac  
      是否可以用替代的语法替代tags 23?0'AU  
 PW\FcT  
struts.ui.templateDir V)?g4M3}  
      The directory containing UI templates i(#c Yb  
      UI templates的目录夹 rm;"98~zJ?  
H%jIjf  
struts.ui.theme 4E94W,1%,Y  
      The default UI template theme LPgI"6cP  
      默认的UI template主题 .EELR]`y7I  
M/I d\~  
struts.url.http.port X64I~*  
      The HTTP port used by Struts URLs Rs`Y'_B  
      设置http端口 [~0q )  
uw&,pq  
struts.url.https.port Z1}zf( JU  
      The HTTPS port used by Struts URLs ooxzM `  
      设置https端口 _^A NJ7  
_Pm}]Y:_  
struts.url.includeParams F#R\Ot,hv  
      The default includeParams method to generate Struts URLs  K8we*  
      在url中产生 默认的includeParams soCHwiE  
=5#Jsn?U  
c.> (/  
struts.velocity.configfile #.xTAvD  
      The Velocity configuration file path Q";eyYdOL  
      velocity配置文件路径 b,sc  
)xs,  
struts.velocity.contexts nlnJJM&J $  
      List of Velocity context names M- A}(r +J  
      velocity的context列表 55en D  
=&xoyF  
<08V-   
struts.velocity.manager.classname Kt0Tuj@CY  
      org.apache.struts2.views.velocity.VelocityManager implementation class 0u9h2/ma  
      org.apache.struts2.views.velocity.VelocityManager接口名 BGjTa.&  
|ZzBCL8q  
struts.velocity.toolboxlocation -JQg{A  
      The location of the Velocity toolbox +Enff0 =+  
      velocity工具盒的位置 Bbp9Q,4  
struts.xslt.nocache bS"M*  
      Whether or not XSLT templates should not be cached IH}L1i A)  
      是否XSLT模版应该被缓存 Ez-o*&  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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