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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 h3 ZL0Fi*  
8Y kH  
struts.action.extension YRX2^v ^[  
      The URL extension to use to determine if the request is meant for a Struts action >@\?\!Go  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 .ceU @^  
'g, x}6  
struts.configuration &Fr68HNmj  
      The org.apache.struts2.config.Configuration implementation class FKTP0e7=9  
        org.apache.struts2.config.Configuration接口名 |Szr=[  
`e:RZ  
struts.configuration.files |0Ug~jKU  
      A list of configuration files automatically loaded by Struts X_yU"U  
      struts自动加载的一个配置文件列表 JN|#   
Cl){sP=8W  
struts.configuration.xml.reload n/|`Dz.  
      Whether to reload the XML configuration or not /-9+(  
      是否加载xml配置(true,false) `'t;BXedz/  
bGLp0\0[  
struts.continuations.package V)?g4M3}  
      The package containing actions that use Rife continuations nqW:P$  
      含有actions的完整连续的package名称 , X+(wp  
YuuG:Kk  
struts.custom.i18n.resources |Y8o+O_`  
      Location of additional localization properties files to load sX?7`n1U  
      加载附加的国际化属性文件(不包含.properties后缀) Uv$ u\D+@[  
Jm^jz  
struts.custom.properties tA n6pGp  
      Location of additional configuration properties files to load e;Z`&  
      加载附加的配置文件的位置 _\6(4a`,  
VZ!$'??  
tOVm~C,R  
struts.devMode ,3[<C)'[  
      Whether Struts is in development mode or not 3Q"+ #Ob  
      是否为struts开发模式 TniKH( w/  
M)RQIl5  
struts.dispatcher.parametersWorkaround L-TVe  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic {iteC  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) F'Vl\qPt  
f@g  
struts.enable.DynamicMethodInvocation }# ^Pb M  
      Allows one to disable dynamic method invocation from the URL CR=MjmH  
        允许动态方法调用 d+)L\ `4  
+5\\wGo<  
struts.freemarker.manager.classname B)NB6dCp  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ]jrxrUl  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 N#ObxOE6T"  
.`RC,R`C  
struts.i18n.encoding DgP%Q  
      The encoding to use for localization messages v%Xe)D   
      国际化信息内码 xb;m m9H  
|g !# \  
struts.i18n.reload e8v=n@0  
      Whether the localization messages should automatically be reloaded U]$3NIe  
      是否国际化信息自动加载 %tLq&tyeY  
TR20{8"  
struts.locale _J!mhU A  
      The default locale for the Struts application 3I(M<sB}  
      默认的国际化地区信息 K@lV P!z  
>c eU!=>  
struts.mapper.class [J Xrj{  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class b>WT-.b0  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 9\2&6H  
n5/Q)*e0'#  
struts.multipart.maxSize lY`<-`{I_  
      The maximize size of a multipart request (file upload) kRPg^Fw"Vw  
      multipart请求信息的最大尺寸(文件上传用) ]42 l:at  
Mr(3]EfgO  
struts.multipart.parser sxtGl^,mU:  
      The org.apache.struts2.dispatcher.multipart. .EwK>ro4  
      MultiPartRequest parser implementation for a multipart request (file upload) z(qz(`eGC&  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ;;5i'h~?]J  
i2E7$[  
A\Gw+l<h,  
struts.multipart.saveDir Q!v[b{]8  
      The directory to use for storing uploaded files " cg>g/  
      设置存储上传文件的目录夹 KMcP!N.I  
yW 3h_08  
struts.objectFactory %#~Wk|8} Q  
      The com.opensymphony.xwork2.ObjectFactory implementation class (Bz(KyD[  
      com.opensymphony.xwork2.ObjectFactory接口(spring) >rubMGb  
`0F IJT  
struts.objectFactory.spring.autoWire I5]zOKlVR  
      Whether Spring should autoWire or not \mloR '  
      是否自动绑定Spring u.6%n. g  
v]~[~\|a  
struts.objectFactory.spring.useClassCache 9`AQsZ2  
      Whether Spring should use its class cache or not S8l+WF4q  
      是否spring应该使用自身的cache 6s;x@g]  
7Z_iQ1  
struts.objectTypeDeterminer |1o]d$3m  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class VbjW$?  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 c/RG1w  
uHYI :(O  
struts.serve.static.browserCache _1ins;c52  
If static content served by the Struts filter should set browser caching header properties or not #A!0KN;GC2  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 yr?\YKV)I  
Nsq%b?#  
struts.serve.static 2ip~qZNw><  
      Whether the Struts filter should serve static content or not ^&Bye?`5  
      是否struts过滤器应该提供静态内容 >\ W" 3.  
_ sd?l  
struts.tag.altSyntax K4"as9oFP  
      Whether to use the alterative syntax for the tags or not novZ<?7 5;  
      是否可以用替代的语法替代tags V|= 1<v  
0U'r ia:$  
struts.ui.templateDir jo;n~>3P  
      The directory containing UI templates rk|6!kry  
      UI templates的目录夹 )8;'fE[p}  
N@}U;x}  
struts.ui.theme tyh%s"  
      The default UI template theme 15COwc*k  
      默认的UI template主题 LHp s2,  
8'y|cF%U  
struts.url.http.port J0IK =Y  
      The HTTP port used by Struts URLs m N{$z<r  
      设置http端口 {q^KlSjm  
3; A1[E6K  
struts.url.https.port ="`y<J P  
      The HTTPS port used by Struts URLs 1na[=Q2  
      设置https端口 0pQ>V)  
99 [ "I:  
struts.url.includeParams B?jF1F!9  
      The default includeParams method to generate Struts URLs f5N~K>  
      在url中产生 默认的includeParams MmX42;Pw  
hRP0Djc  
7Ny>W(8  
struts.velocity.configfile 9} vWTt0  
      The Velocity configuration file path }~7>S5  
      velocity配置文件路径 E^g6,Y:i9  
|:\h3M  
struts.velocity.contexts YXvKDw'95  
      List of Velocity context names Y , P-@(  
      velocity的context列表 Y !`H_Qo  
X@arUs7  
E_++yK^=  
struts.velocity.manager.classname ~Sh}\&3p  
      org.apache.struts2.views.velocity.VelocityManager implementation class pH4i6B*5  
      org.apache.struts2.views.velocity.VelocityManager接口名 BjA|H  
vOqT Ld  
struts.velocity.toolboxlocation sIy  LW  
      The location of the Velocity toolbox '!_o`t@  
      velocity工具盒的位置 (k[<>$hL*  
struts.xslt.nocache 62W3W1: W  
      Whether or not XSLT templates should not be cached Ss8`;>  
      是否XSLT模版应该被缓存 })J]D~!p  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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