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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 BPqGJ7@  
6*nAo8gl  
struts.action.extension -h-oMqgu(  
      The URL extension to use to determine if the request is meant for a Struts action 'r} zY-FM`  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 [pg}S#A  
3ta$L"a  
struts.configuration :%JC^dV(  
      The org.apache.struts2.config.Configuration implementation class 0rokR&Y-d  
        org.apache.struts2.config.Configuration接口名 8ga_pNe  
CKlL~f EL  
struts.configuration.files >p])it[q&$  
      A list of configuration files automatically loaded by Struts r]P,9  
      struts自动加载的一个配置文件列表 V (rr"K+  
maSgRf[g  
struts.configuration.xml.reload JR9$. fGJ  
      Whether to reload the XML configuration or not 8BXqZVm.  
      是否加载xml配置(true,false) u/Fj'*M  
~%#mK:+  
struts.continuations.package wP"q<W g  
      The package containing actions that use Rife continuations +m,!e*g  
      含有actions的完整连续的package名称 [m'CR 4(|  
PoShQR<  
struts.custom.i18n.resources )F pJ 1  
      Location of additional localization properties files to load rrs"N3!aT  
      加载附加的国际化属性文件(不包含.properties后缀) Vv*NFJ|  
x`Fjf/1T*m  
struts.custom.properties JmOW~W  
      Location of additional configuration properties files to load ?4z8)E9Ju  
      加载附加的配置文件的位置 6'OO-o  
kGN||h  
4B-yTyO  
struts.devMode C:\(~D *GS  
      Whether Struts is in development mode or not 8v y G*UK  
      是否为struts开发模式 Zv qn%K],  
_qWC4NMF(  
struts.dispatcher.parametersWorkaround {<w +3Va  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic vz`@x45K  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) h ?#@~  
:#="%  
struts.enable.DynamicMethodInvocation L>Jd7; =  
      Allows one to disable dynamic method invocation from the URL rOl6lQW  
        允许动态方法调用 u/AT-e r;  
|V`S >m%N  
struts.freemarker.manager.classname Sl~x$9`  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class X QbNH~  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 L2-^! '  
mog9jw  
struts.i18n.encoding b>cafu  
      The encoding to use for localization messages \&A+s4c")  
      国际化信息内码 w@]jpH;WX  
mVm4fHEYwU  
struts.i18n.reload Rt= X% [YL  
      Whether the localization messages should automatically be reloaded J(h3]J/Yw  
      是否国际化信息自动加载 zTCP )x  
D\]&8w6&  
struts.locale 5n:71$6[  
      The default locale for the Struts application ,EhVSrh)_4  
      默认的国际化地区信息 X<MpN5%|Wo  
6Dm+'y]l  
struts.mapper.class :%_q[}e  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class HdQj?f3  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Li`hdrO'ii  
]TK=>;&  
struts.multipart.maxSize 3n(*E_n  
      The maximize size of a multipart request (file upload) t]m!ee8*X<  
      multipart请求信息的最大尺寸(文件上传用) 02 f9 wV  
TGWdyIk  
struts.multipart.parser (:$9%,x  
      The org.apache.struts2.dispatcher.multipart. EI`vVI  
      MultiPartRequest parser implementation for a multipart request (file upload) 3-Y=EH_0  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) d><fu]'  
mf4z?G@6  
` %' z  
struts.multipart.saveDir Ao`_",E  
      The directory to use for storing uploaded files b>q6:=((  
      设置存储上传文件的目录夹 6 S*zzJ.0K  
6$B'Q30}r  
struts.objectFactory LZ&uj{ <  
      The com.opensymphony.xwork2.ObjectFactory implementation class b!~TAT&8  
      com.opensymphony.xwork2.ObjectFactory接口(spring)  *q"G }  
-qn[HXq  
struts.objectFactory.spring.autoWire ~%aJFs  
      Whether Spring should autoWire or not q]v,  
      是否自动绑定Spring #)i&DJ^Y  
t* z'c  
struts.objectFactory.spring.useClassCache 5upShtC  
      Whether Spring should use its class cache or not 4%bTj,H#  
      是否spring应该使用自身的cache Hptq,~_t  
 [y{E  
struts.objectTypeDeterminer ~PUsgL^  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class =49o U  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Pe,;MP\2  
#1l7FT?q  
struts.serve.static.browserCache 5LMj!)3  
If static content served by the Struts filter should set browser caching header properties or not !V( `ZH  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 oYq,u@oM  
sQ(1/"gb  
struts.serve.static lS{4dvr?w  
      Whether the Struts filter should serve static content or not lV7IHX1P  
      是否struts过滤器应该提供静态内容 4 ?2g&B\  
n2 na9dX)w  
struts.tag.altSyntax [a D:A  
      Whether to use the alterative syntax for the tags or not xT+ ;w[s  
      是否可以用替代的语法替代tags Z}f^qc+  
XIN5a~[z*  
struts.ui.templateDir Dh8(HiXf:  
      The directory containing UI templates -M`D >  
      UI templates的目录夹 CveWl$T12  
/Hk07:"c  
struts.ui.theme ;E2kT GT  
      The default UI template theme XZBj=2~-3  
      默认的UI template主题 j&llrN  
AFtCqq#[  
struts.url.http.port El1:?4;  
      The HTTP port used by Struts URLs zPE#[\O21B  
      设置http端口 %Ht ^yemQ  
;siJ~|6)  
struts.url.https.port b7f0#*(?  
      The HTTPS port used by Struts URLs 0Q*-g}wXfS  
      设置https端口 j/`Up  
[#zE. TW  
struts.url.includeParams b60[({A\s&  
      The default includeParams method to generate Struts URLs b#}t:yy  
      在url中产生 默认的includeParams ?k w/S4  
bQ=s8'  
0Ts!(b]B  
struts.velocity.configfile s9:%s*$u  
      The Velocity configuration file path zK /f$}  
      velocity配置文件路径 ^OjvL6 A/p  
%d-`71|lG^  
struts.velocity.contexts :D^Y?  
      List of Velocity context names MyM+C}  
      velocity的context列表 7n<#y;wo  
}RDb1~6C  
Z3I L8  
struts.velocity.manager.classname hC|KH}aCR)  
      org.apache.struts2.views.velocity.VelocityManager implementation class ,?#*eJD  
      org.apache.struts2.views.velocity.VelocityManager接口名 FB.!`%{  
xtu]F  
struts.velocity.toolboxlocation _H/67dcz,  
      The location of the Velocity toolbox J(&Gmk9&  
      velocity工具盒的位置 S].Ft/+H  
struts.xslt.nocache !}j,TPpG  
      Whether or not XSLT templates should not be cached "h`54 }0  
      是否XSLT模版应该被缓存 # s,Y% Bce  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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