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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 e-\J!E'1F  
@(&ki~+   
struts.action.extension '2v,!G]^  
      The URL extension to use to determine if the request is meant for a Struts action WWH T;ST  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 \MX>=  
\S1WF ?<,  
struts.configuration ;./Tv84I^  
      The org.apache.struts2.config.Configuration implementation class GS\-  
        org.apache.struts2.config.Configuration接口名 y}nM'$p  
dt^yEapjM  
struts.configuration.files cM.q^{d`  
      A list of configuration files automatically loaded by Struts fHR1ku y  
      struts自动加载的一个配置文件列表 =i\~][-  
Cm(Hu  
struts.configuration.xml.reload xlv:+  
      Whether to reload the XML configuration or not {_KuztJGA  
      是否加载xml配置(true,false) DJT)7l{  
jHTaG%oh  
struts.continuations.package %\Ig{Rj;  
      The package containing actions that use Rife continuations 6HFA2~A  
      含有actions的完整连续的package名称 enK4`+.7  
7H++ pOF  
struts.custom.i18n.resources OJQ7nChMm  
      Location of additional localization properties files to load b]Oc6zR,,~  
      加载附加的国际化属性文件(不包含.properties后缀) 1 NLawi6  
jZe]zdml  
struts.custom.properties v #IC  
      Location of additional configuration properties files to load U7bG(?k)  
      加载附加的配置文件的位置 9F ).i  
c{s<W}3Ds  
`Nc3I\tCM  
struts.devMode h9&<-k  
      Whether Struts is in development mode or not $1#|<|  
      是否为struts开发模式 >c8zMd  
X*}S(9cg\i  
struts.dispatcher.parametersWorkaround -P@o>#Em  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic /Y|9!{.  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) >")%4@  
1h"0B  
struts.enable.DynamicMethodInvocation DZ(e^vq  
      Allows one to disable dynamic method invocation from the URL ]l}8  
        允许动态方法调用 pJK puoiX  
*M6M'>Tin  
struts.freemarker.manager.classname E!C~*l]wJx  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class qyQPR  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 =HYMX "s  
Op\l  
struts.i18n.encoding }us%G&A2u  
      The encoding to use for localization messages {- 7T\mj  
      国际化信息内码 /M\S^ !g@  
I`p44}D3  
struts.i18n.reload xGPt5l<M&  
      Whether the localization messages should automatically be reloaded (E\7Ui0 Q  
      是否国际化信息自动加载 |P>> ^,iUn  
ib ;:*  
struts.locale }NiJDs  
      The default locale for the Struts application }eULcgRG  
      默认的国际化地区信息 @;JT }R H-  
*`=V"nXw$|  
struts.mapper.class Bn-%).-ED  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class #0hX)7(j  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 =DcKHL(m  
i,$*+2Z  
struts.multipart.maxSize &*T57tE  
      The maximize size of a multipart request (file upload) cQS}pQyYN  
      multipart请求信息的最大尺寸(文件上传用) ~^KemwogPN  
+8mfq\ Y1  
struts.multipart.parser 9iUkvnphh  
      The org.apache.struts2.dispatcher.multipart. Cq}LKiu  
      MultiPartRequest parser implementation for a multipart request (file upload) %(,JBa:G  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) -8#Of)W  
L+9a4/q  
"72 _Sw  
struts.multipart.saveDir $l0^2o=  
      The directory to use for storing uploaded files CdC&y}u  
      设置存储上传文件的目录夹 Pdrz lu   
}#a d  
struts.objectFactory vb\UP&Ip  
      The com.opensymphony.xwork2.ObjectFactory implementation class N=)N   
      com.opensymphony.xwork2.ObjectFactory接口(spring) WSWaq\9]8  
JY4 +MApN  
struts.objectFactory.spring.autoWire #e{l:!uS\  
      Whether Spring should autoWire or not GbBcC#0  
      是否自动绑定Spring lk)38.  
6- s/\  
struts.objectFactory.spring.useClassCache g()YP  
      Whether Spring should use its class cache or not cK1r9ED|  
      是否spring应该使用自身的cache j^Bo0{{  
yAW%y  
struts.objectTypeDeterminer <t.yn\G-w  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class (wo.OH  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 5,Mc` IIK1  
j[F\f>  
struts.serve.static.browserCache +%UfnbZ  
If static content served by the Struts filter should set browser caching header properties or not ;vy"i  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 7:)=  
@_J~zo  
struts.serve.static pi 7W8y  
      Whether the Struts filter should serve static content or not J4;w9[a$  
      是否struts过滤器应该提供静态内容 ~+/IzckrG  
^yb3L1y  
struts.tag.altSyntax )R(kXz=M  
      Whether to use the alterative syntax for the tags or not I~-W4{  
      是否可以用替代的语法替代tags 1~zzQ:jAZ  
.hzzoLI2  
struts.ui.templateDir -r@fLkwg  
      The directory containing UI templates *:{s|18Pj  
      UI templates的目录夹 &5h{XSv  
>7V96jL$Y  
struts.ui.theme jAie[5  
      The default UI template theme TWZ* *S-  
      默认的UI template主题 aY@]mMz\  
]bLI!2Kr  
struts.url.http.port /Nt#|C>  
      The HTTP port used by Struts URLs 2!Yq9,`  
      设置http端口 ~!;*C  
($pNOG H  
struts.url.https.port 9~n`6;R  
      The HTTPS port used by Struts URLs 2Tec#eYe  
      设置https端口 (~q.YJ'  
w$[&ejFb  
struts.url.includeParams BZ* ',\o  
      The default includeParams method to generate Struts URLs =PYfk6j9  
      在url中产生 默认的includeParams (0dy,GRN  
Iv+JEuIi  
/Jj7 +?  
struts.velocity.configfile >cU#($X$^  
      The Velocity configuration file path w"ZngrwBl  
      velocity配置文件路径 SQ'\Kd=  
FnxPM`Zx  
struts.velocity.contexts P1C{G'cR  
      List of Velocity context names 7+ +Fak  
      velocity的context列表 G5*"P!@6  
2tD{c^ 9<  
%hDx UZ#0  
struts.velocity.manager.classname Cm@rX A/  
      org.apache.struts2.views.velocity.VelocityManager implementation class ~&HP }Q$#f  
      org.apache.struts2.views.velocity.VelocityManager接口名 `(tVwX4  
dhrh "x_?:  
struts.velocity.toolboxlocation & pHSX  
      The location of the Velocity toolbox gxnIur)  
      velocity工具盒的位置 dynkb901s  
struts.xslt.nocache <<'%2q5  
      Whether or not XSLT templates should not be cached 5"sd  
      是否XSLT模版应该被缓存 I+2#k\y  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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