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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 h3BDHz,  
fZNWJo# `.  
struts.action.extension %VsIg  
      The URL extension to use to determine if the request is meant for a Struts action NA-)7i*>J  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 {[Z}<#n)  
I?~iEO\nh  
struts.configuration /xh/M@G3  
      The org.apache.struts2.config.Configuration implementation class aS)Gj?Odf  
        org.apache.struts2.config.Configuration接口名 NB#-W4NA  
syB.Z-Cpd  
struts.configuration.files 3?Tk[m1b  
      A list of configuration files automatically loaded by Struts Dqg~g|(Q<  
      struts自动加载的一个配置文件列表 G\ m`{jv  
 X0&[cyP!  
struts.configuration.xml.reload D%,AdR"m  
      Whether to reload the XML configuration or not fKQq]&~ H  
      是否加载xml配置(true,false) Q3P*&6wA  
>u/ T`$  
struts.continuations.package ;RW0 24  
      The package containing actions that use Rife continuations N~0~1 WQn  
      含有actions的完整连续的package名称 N[j*Q 8X_  
a%NSL6  
struts.custom.i18n.resources pe@j`Sm:Ej  
      Location of additional localization properties files to load 9LK<u$C  
      加载附加的国际化属性文件(不包含.properties后缀) ["} Yp  
[ m#|[%  
struts.custom.properties vq;_x  
      Location of additional configuration properties files to load ^wTod\y  
      加载附加的配置文件的位置 xu(N'l.7&  
)|Xi:Zd5>  
]O 8hkGa  
struts.devMode Ce-D^9kC  
      Whether Struts is in development mode or not E@N& Y1t  
      是否为struts开发模式 ]J)3y+;P  
P8\bi"iiN  
struts.dispatcher.parametersWorkaround p0bMgP  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 5* 3T+OK  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 5rPK7Jh`B  
s!eB8lkcT  
struts.enable.DynamicMethodInvocation 9%6W_ 0>  
      Allows one to disable dynamic method invocation from the URL %5rC`9^  
        允许动态方法调用  bMDj+i  
_X"G(  
struts.freemarker.manager.classname Y2 QX9RN  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 04}" n  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 )D>= \ Me  
*wNO3tP't  
struts.i18n.encoding Di>B:=  
      The encoding to use for localization messages x-Ug(/!^  
      国际化信息内码 Kjfpq!NYE  
iW$f1=i  
struts.i18n.reload  PH6NU&H  
      Whether the localization messages should automatically be reloaded au~}s |#  
      是否国际化信息自动加载 r]lPXj(`  
4!)=!sL ;  
struts.locale gkRbb   
      The default locale for the Struts application J%SuiT$L&Y  
      默认的国际化地区信息 qEy]Rc%  
;rjd?r  
struts.mapper.class ]^c]*O[8  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 'pQ\BH  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 wD|I^y;  
=lG/A[66  
struts.multipart.maxSize =*Ru 2  
      The maximize size of a multipart request (file upload) 9}*<8%PSt,  
      multipart请求信息的最大尺寸(文件上传用) @teNT"  
X|wg7>kh*`  
struts.multipart.parser JVawWw0q  
      The org.apache.struts2.dispatcher.multipart. :0'2m@x~  
      MultiPartRequest parser implementation for a multipart request (file upload) )"4v0dv  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) *p=a-s5-  
2Pz)vnV"  
NU{`eM  
struts.multipart.saveDir N"Mw1R4  
      The directory to use for storing uploaded files T]0H&Oov  
      设置存储上传文件的目录夹 qG?svt  
W1;u%>Uh  
struts.objectFactory c D0-g=&  
      The com.opensymphony.xwork2.ObjectFactory implementation class ne-; gTP;  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 8 bpYop7 L  
7f,!xh$  
struts.objectFactory.spring.autoWire 2SHS!6:Rl  
      Whether Spring should autoWire or not 5ON\Ve_H  
      是否自动绑定Spring e3!0<A[X  
at5>h   
struts.objectFactory.spring.useClassCache Lj#K^c Ee  
      Whether Spring should use its class cache or not /hksESiU  
      是否spring应该使用自身的cache _zF*S]9 X  
Pt^SlX^MM  
struts.objectTypeDeterminer zEN3N n.8  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class w(-h!d51+  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 1Bhd-  
q[Ed6FM$~  
struts.serve.static.browserCache c3]X#Qa#m$  
If static content served by the Struts filter should set browser caching header properties or not 7ElU5I<S  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 2ms@CQy(00  
zc#$hIi  
struts.serve.static DSX.84  
      Whether the Struts filter should serve static content or not 6l,oL'$}P1  
      是否struts过滤器应该提供静态内容 ##_Jz5P  
@?E|]H!S]  
struts.tag.altSyntax lS!uL9t.  
      Whether to use the alterative syntax for the tags or not %{*)-_M  
      是否可以用替代的语法替代tags 4Ow0g-{  
IqrT@jgN-  
struts.ui.templateDir z [9f  
      The directory containing UI templates '#Pg:v_  
      UI templates的目录夹 /.>8e%)  
{ M&Vh]  
struts.ui.theme "2 "gTS  
      The default UI template theme ;(I')[R "  
      默认的UI template主题 ,UE>@;]  
m&!4*D  
struts.url.http.port h qT6]*  
      The HTTP port used by Struts URLs ).D+/D/"2  
      设置http端口 :y%CP8  
io{\+%;b~  
struts.url.https.port [ :*Jn}  
      The HTTPS port used by Struts URLs 3d81]!n  
      设置https端口 6xq/  
jSc!"Trl]  
struts.url.includeParams ecIZ +G)k  
      The default includeParams method to generate Struts URLs JT(6Uf  
      在url中产生 默认的includeParams }X?M6;$)  
wcW8"J'AH  
(eEs0  
struts.velocity.configfile T\3a T  
      The Velocity configuration file path 5N.-m;s  
      velocity配置文件路径 O4lHR6M2  
vn"+x_  
struts.velocity.contexts p^>_VE[S  
      List of Velocity context names m?)REE  
      velocity的context列表 x_VD9  
y Nc"E  
14Y<-OO: k  
struts.velocity.manager.classname @B#\3WNt  
      org.apache.struts2.views.velocity.VelocityManager implementation class '"Z\8;5i  
      org.apache.struts2.views.velocity.VelocityManager接口名 t'{IE!_  
"`q:  
struts.velocity.toolboxlocation g+1&liV  
      The location of the Velocity toolbox ~>-MVp  
      velocity工具盒的位置 r=74 'g  
struts.xslt.nocache Md[M}d8  
      Whether or not XSLT templates should not be cached F(}~~EtPHo  
      是否XSLT模版应该被缓存 ;:DDz  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八