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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 U ]7;K>.T  
[Wxf,rW i  
struts.action.extension p*l=rni4  
      The URL extension to use to determine if the request is meant for a Struts action :`c@&WF8  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 U|b)Bw<P  
==S^IBG  
struts.configuration L) UCVm  
      The org.apache.struts2.config.Configuration implementation class n(.L=VuXn  
        org.apache.struts2.config.Configuration接口名 xyHv7u%*  
bAld'z#  
struts.configuration.files ,BR W=  
      A list of configuration files automatically loaded by Struts /4}y2JVv)  
      struts自动加载的一个配置文件列表 So= BcX-  
fOdX2{7m  
struts.configuration.xml.reload ikO9p|J  
      Whether to reload the XML configuration or not -wVuM.n(Z  
      是否加载xml配置(true,false) *J{E1])<a  
\(}pm#O  
struts.continuations.package c< sq0('`  
      The package containing actions that use Rife continuations Z*IW*f&0>1  
      含有actions的完整连续的package名称 L\R(//V  
1Beh&pl^  
struts.custom.i18n.resources $W9dUR0  
      Location of additional localization properties files to load C}ASVywc,1  
      加载附加的国际化属性文件(不包含.properties后缀) 4y!GFhMh  
"bz.nE*  
struts.custom.properties 0U !&|i\  
      Location of additional configuration properties files to load YxGqQO36  
      加载附加的配置文件的位置 ]]y4$ [|L  
?X Rl\V  
>U(E \`9D  
struts.devMode wh!8\9{g  
      Whether Struts is in development mode or not N36B*9m&p  
      是否为struts开发模式 qTN30(x2  
s<oT,SPt  
struts.dispatcher.parametersWorkaround P<;Puww/  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic |XMWi/p  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) e7tio!  
P76gJ@#m  
struts.enable.DynamicMethodInvocation i^8w0H<-@v  
      Allows one to disable dynamic method invocation from the URL sXtt$HID=  
        允许动态方法调用 Asy2jw\V  
?A04qk  
struts.freemarker.manager.classname *$3p3-  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ,c 0]r;u!  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 b`ksTO`}x  
JSx[V<7m  
struts.i18n.encoding B1]FB|0's  
      The encoding to use for localization messages BqM[{Kv  
      国际化信息内码 _Fe=:q  
@Fzw_qr M  
struts.i18n.reload r%>EiHpCU  
      Whether the localization messages should automatically be reloaded Kjpsz];  
      是否国际化信息自动加载 J% ZM V  
mo,"3YW  
struts.locale Vy^mEsQC+h  
      The default locale for the Struts application [&l+Ve(  
      默认的国际化地区信息 G&`5o*).bb  
_ q AT%.  
struts.mapper.class M:L-j{?y_  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class P.(z)!]  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 %d<UMbS^  
cVYu(ssC4  
struts.multipart.maxSize bJkFCI/  
      The maximize size of a multipart request (file upload) y<#Hq1  
      multipart请求信息的最大尺寸(文件上传用) !& >LLZ  
AP8J28I  
struts.multipart.parser c8HETs1  
      The org.apache.struts2.dispatcher.multipart. qD /h/  
      MultiPartRequest parser implementation for a multipart request (file upload) 3>=G-AH/$K  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ]\]mwvLT  
RWoVN$i>  
}=.C~f]A  
struts.multipart.saveDir P ?96;  
      The directory to use for storing uploaded files 2wgcVQ Awa  
      设置存储上传文件的目录夹 }WF6w+  
xK4E+^ b  
struts.objectFactory 5HTY ~&C  
      The com.opensymphony.xwork2.ObjectFactory implementation class YG)7+94  
      com.opensymphony.xwork2.ObjectFactory接口(spring) K6@ %@v  
85Kf>z::c  
struts.objectFactory.spring.autoWire 7|Iq4@IT  
      Whether Spring should autoWire or not V8b^{}nxt  
      是否自动绑定Spring KXUJ*l-5  
ey\(*Tu9  
struts.objectFactory.spring.useClassCache QUF1_Sa  
      Whether Spring should use its class cache or not 4{b/Nv:b  
      是否spring应该使用自身的cache '*t<g@2$  
Ye^xV,U@  
struts.objectTypeDeterminer 5bsv05=e  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 84s:cO  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 y5Fgf3P@ju  
:U]Pm:ivTU  
struts.serve.static.browserCache wy:euKB~   
If static content served by the Struts filter should set browser caching header properties or not w(ic$  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ?+$EPaC2  
'C;KNc  
struts.serve.static u/wWD@,  
      Whether the Struts filter should serve static content or not zE7)4!  
      是否struts过滤器应该提供静态内容 Z'm( M[2K  
52F3r:Rk  
struts.tag.altSyntax 6+C]rEY/o  
      Whether to use the alterative syntax for the tags or not F$9+WS`c  
      是否可以用替代的语法替代tags G B>T3l"  
RhE|0N=  
struts.ui.templateDir zP/SDW   
      The directory containing UI templates 0 4oMgH>Vd  
      UI templates的目录夹 k_Lv\'Ok  
W=2]!%3#  
struts.ui.theme j tqU`|FSQ  
      The default UI template theme B<~BX [  
      默认的UI template主题 ENf(E9O  
: %U lNk  
struts.url.http.port 7'@~TM  
      The HTTP port used by Struts URLs cO-^#di  
      设置http端口 1z@ ncqe  
1W9uWkk_d  
struts.url.https.port u0$}VO5/a  
      The HTTPS port used by Struts URLs  AZ-JaE  
      设置https端口 nrM-\'  
2,.8 oa(  
struts.url.includeParams } OkK@8?0O  
      The default includeParams method to generate Struts URLs V~t; J  
      在url中产生 默认的includeParams *4l6+#W  
>-(,BfZ  
5)gC<  
struts.velocity.configfile |]?7r?=J9v  
      The Velocity configuration file path <V#]3$(S  
      velocity配置文件路径 'jKCAU5/0;  
)xTu|V   
struts.velocity.contexts s]xn&rd_  
      List of Velocity context names i^rHZmT  
      velocity的context列表 ;|oem\dKv  
B5]nP .R  
\r &(l1R  
struts.velocity.manager.classname 6O'Y@9#  
      org.apache.struts2.views.velocity.VelocityManager implementation class \u6/nvZ]N  
      org.apache.struts2.views.velocity.VelocityManager接口名 *bi;mQ  
Ul:M=8nE%  
struts.velocity.toolboxlocation t\\<+^[%  
      The location of the Velocity toolbox IN"6 =2:  
      velocity工具盒的位置 A.<M*[{q  
struts.xslt.nocache rP}0B/  
      Whether or not XSLT templates should not be cached U^OR\=G^  
      是否XSLT模版应该被缓存 \Zn~y--Z  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八