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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 )Mh5q&ow  
1n#{c5T  
struts.action.extension w +HKvOs5c  
      The URL extension to use to determine if the request is meant for a Struts action G5UNW<P2C  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 3A3WD+[L  
y 27MG  
struts.configuration r|3<UR%  
      The org.apache.struts2.config.Configuration implementation class k>#-NPU$  
        org.apache.struts2.config.Configuration接口名 [pz1f!Wn  
lN7YU-ygz  
struts.configuration.files ZBjb f_M:  
      A list of configuration files automatically loaded by Struts >(W\Eh{J  
      struts自动加载的一个配置文件列表 O`.IE? h#  
j^ttTq|l  
struts.configuration.xml.reload DS7Pioa86  
      Whether to reload the XML configuration or not ES5a`"H  
      是否加载xml配置(true,false) 3# idXc  
Ca3 {e1  
struts.continuations.package WB"90!  
      The package containing actions that use Rife continuations =9A!5  
      含有actions的完整连续的package名称 +[#^c3x2  
2Iq*7n:v0  
struts.custom.i18n.resources 7/bF0 4~%  
      Location of additional localization properties files to load @Dd3mWKq  
      加载附加的国际化属性文件(不包含.properties后缀) .FvIT] k-  
#3YYE5cB  
struts.custom.properties i7`/"5I  
      Location of additional configuration properties files to load 7qg. :h  
      加载附加的配置文件的位置 ;eP. B/N  
Fb^,%K:  
uC"Gm;0  
struts.devMode oi%IHX(`  
      Whether Struts is in development mode or not <^adt *m  
      是否为struts开发模式 2&:nHZ)  
;z9U_  
struts.dispatcher.parametersWorkaround mnM$#%q;%  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 0~ cbB  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) CMYkxU  
1P/4,D@  
struts.enable.DynamicMethodInvocation La si)e=$<  
      Allows one to disable dynamic method invocation from the URL N!^5<2z@eT  
        允许动态方法调用 ,SSq4  
$7bux 1L  
struts.freemarker.manager.classname =E' .T0v  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class -O?&+xIK&  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ?FwjbG<  
E>O1dPZcM  
struts.i18n.encoding =CjN=FM  
      The encoding to use for localization messages (Y$48@x  
      国际化信息内码 (TFo]c  
M[,G#GO  
struts.i18n.reload $|r p5D6  
      Whether the localization messages should automatically be reloaded txXt<]N  
      是否国际化信息自动加载  0@dN$e  
2x dN0S  
struts.locale yaKw/vV  
      The default locale for the Struts application Hnc<)_DF  
      默认的国际化地区信息 c9)5G+   
~Y'j8W  
struts.mapper.class 088"7 s  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Bwg\_:vq  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Ba /^CS  
:T #"bY  
struts.multipart.maxSize )NCkq~M  
      The maximize size of a multipart request (file upload) N"rZK/@}  
      multipart请求信息的最大尺寸(文件上传用) ~7Jj\@68  
Y+'522er  
struts.multipart.parser !E|k#c9  
      The org.apache.struts2.dispatcher.multipart. ZP^7`q)6  
      MultiPartRequest parser implementation for a multipart request (file upload) *oU-V#   
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) cJ!C=J  
^NPbD<~Lb  
#Bgq]6G2  
struts.multipart.saveDir +F3`?6UXz  
      The directory to use for storing uploaded files Kk_h&by?  
      设置存储上传文件的目录夹 K7N.gT*4  
{f<\`  
struts.objectFactory -!b@\=  
      The com.opensymphony.xwork2.ObjectFactory implementation class K{x FhdW  
      com.opensymphony.xwork2.ObjectFactory接口(spring) U?d4 ^  
0[T>UEI?  
struts.objectFactory.spring.autoWire ]J* y`jn  
      Whether Spring should autoWire or not xRU ~h Q  
      是否自动绑定Spring j1{\nP/  
Om=*b#k  
struts.objectFactory.spring.useClassCache Zc9j_.?*  
      Whether Spring should use its class cache or not =y kOh_M  
      是否spring应该使用自身的cache ZT'Sw%U:  
X0"f>.Lg  
struts.objectTypeDeterminer hpVu   
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 7yK1Q_XY>  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 8${Yu  
eX@7f!uz  
struts.serve.static.browserCache +)gXU Vwd  
If static content served by the Struts filter should set browser caching header properties or not gYy9N=f+  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 /P3s.-sL  
Pqm)OZE?  
struts.serve.static &`J?`l X  
      Whether the Struts filter should serve static content or not p>@S61 & [  
      是否struts过滤器应该提供静态内容 `bF] O"  
q4rDAQyPO  
struts.tag.altSyntax Vt!<.8&`  
      Whether to use the alterative syntax for the tags or not ,$qqHSd1M  
      是否可以用替代的语法替代tags qm&Z_6Pw  
4/B n9F  
struts.ui.templateDir %g<J"/  
      The directory containing UI templates }_{QsPx9  
      UI templates的目录夹 (s\":5 C  
0fd\R_"d.  
struts.ui.theme U~w g'  
      The default UI template theme FTg4i\Wp  
      默认的UI template主题 ,LHQ@/}A C  
mzX <!  
struts.url.http.port l6S6Y  
      The HTTP port used by Struts URLs &PAgab2$  
      设置http端口 %VCfcM}5I  
1xkU;no  
struts.url.https.port #1C~i}J1  
      The HTTPS port used by Struts URLs 9C{\=?e;  
      设置https端口 3koXM_4_{)  
A' \jaB  
struts.url.includeParams <XHS@|  
      The default includeParams method to generate Struts URLs M:~/e8Xv  
      在url中产生 默认的includeParams /<s $Am  
f @cs<x  
#!FLX*,  
struts.velocity.configfile Bw[jrK  
      The Velocity configuration file path l?/.uNw  
      velocity配置文件路径 iC{~~W6  
G{cTQH|  
struts.velocity.contexts r_kw "9  
      List of Velocity context names kH43 T  
      velocity的context列表 hR$lX8  
IHg)xZ  
^3-Wxn9&  
struts.velocity.manager.classname ;^,2 QsM  
      org.apache.struts2.views.velocity.VelocityManager implementation class epH48)2  
      org.apache.struts2.views.velocity.VelocityManager接口名 .2b) rKo~  
GD$jP?  
struts.velocity.toolboxlocation 2 8j=q-9Z  
      The location of the Velocity toolbox `37GVo4  
      velocity工具盒的位置 | 3`qT#p{  
struts.xslt.nocache ?]=fC{Rh  
      Whether or not XSLT templates should not be cached }bv0~}G4  
      是否XSLT模版应该被缓存 / h6(!-"  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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