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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 x9o^9QJh  
x4HMT/@AG2  
struts.action.extension 'j,Li(@}  
      The URL extension to use to determine if the request is meant for a Struts action OCOO02Wq1  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 mb*h73{{  
+N(YR3  
struts.configuration thm3JfQt  
      The org.apache.struts2.config.Configuration implementation class 1A/c/iC  
        org.apache.struts2.config.Configuration接口名 ncw?;  
c^[1]'y  
struts.configuration.files (zTI)EV  
      A list of configuration files automatically loaded by Struts !MF"e|W  
      struts自动加载的一个配置文件列表 2cX"#."5p  
Er)_[^) HG  
struts.configuration.xml.reload FOUs= E[  
      Whether to reload the XML configuration or not /YugQ.>| l  
      是否加载xml配置(true,false) M-qxD"VtV=  
>s 8:1l  
struts.continuations.package j2{,1hj  
      The package containing actions that use Rife continuations l]kl V+9t  
      含有actions的完整连续的package名称 Bg+]_:<U  
s=%+o& B  
struts.custom.i18n.resources J:-TINeB  
      Location of additional localization properties files to load J%O4IcE  
      加载附加的国际化属性文件(不包含.properties后缀) tx1m36a"  
k.%W8C<Pa  
struts.custom.properties 1KIq$lG{ E  
      Location of additional configuration properties files to load o YI=p3l  
      加载附加的配置文件的位置 zs]/Y2  
LG@c)H74  
L};;o+5uJD  
struts.devMode ,w/mk$v  
      Whether Struts is in development mode or not n XeK,C  
      是否为struts开发模式 l^eNZ3:H  
<1 1Tqb  
struts.dispatcher.parametersWorkaround ";Ig%]  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic FnQ_=b  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) |`t!aG8  
)Fr;'JYC1S  
struts.enable.DynamicMethodInvocation ^B6i6]Pd=9  
      Allows one to disable dynamic method invocation from the URL b\Xu1>  
        允许动态方法调用 +_XbHjhN/  
*ZSp9g"Z  
struts.freemarker.manager.classname u+tb83 ~[=  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class e'?d oP  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 :mtw}H 'F8  
t>h i$NX{p  
struts.i18n.encoding y[5P<:&s  
      The encoding to use for localization messages Ccd7|L1  
      国际化信息内码 F+y`4>x  
-x%`Wv@L  
struts.i18n.reload ; # ?0#):-  
      Whether the localization messages should automatically be reloaded eN?P) ,  
      是否国际化信息自动加载 $E_vCB _  
aaD$'Y,<>B  
struts.locale JQh s=Xg  
      The default locale for the Struts application Jx ;"a\KD  
      默认的国际化地区信息 {LJ6't 8y:  
H{A| ~V)  
struts.mapper.class Ho._&az9cT  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class hy&Hl  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 z9kX`M+  
pA,EUh| H  
struts.multipart.maxSize uj1E* 98m  
      The maximize size of a multipart request (file upload) k| cI!   
      multipart请求信息的最大尺寸(文件上传用) 2=,Sz1`t  
yjFQk,A  
struts.multipart.parser 2:5gMt  
      The org.apache.struts2.dispatcher.multipart. \/4%[Q2QDm  
      MultiPartRequest parser implementation for a multipart request (file upload) S{)n0/_  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) [11-`v0  
A%w]~ chC9  
q {+poV X  
struts.multipart.saveDir Yg,WdVI&@  
      The directory to use for storing uploaded files V?J,ab$X#  
      设置存储上传文件的目录夹 1o8"==n%  
>/`c mNmb  
struts.objectFactory bq&S?! =s  
      The com.opensymphony.xwork2.ObjectFactory implementation class GuY5 % wr  
      com.opensymphony.xwork2.ObjectFactory接口(spring) <w2NJ ~M^  
6.7 Kp  
struts.objectFactory.spring.autoWire -Tkd@  
      Whether Spring should autoWire or not Y&!]I84]  
      是否自动绑定Spring @] "9EW 0  
lgqL)^8A  
struts.objectFactory.spring.useClassCache "PScM9)\  
      Whether Spring should use its class cache or not <^'+ ]?  
      是否spring应该使用自身的cache jhbH6=f4]^  
{2clOUi  
struts.objectTypeDeterminer dQ|Ht[ s=  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class @N_H]6z4  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 yz$1qEII`q  
HN~4-6[q  
struts.serve.static.browserCache tP(bRQ>  
If static content served by the Struts filter should set browser caching header properties or not ee0>B86tE  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 _xL&sy09t  
z*~ PYAt  
struts.serve.static -Fc#  
      Whether the Struts filter should serve static content or not 4kF .  
      是否struts过滤器应该提供静态内容 m'"VuH?^  
p'!,F; xX  
struts.tag.altSyntax 6')SJ*|yS  
      Whether to use the alterative syntax for the tags or not @>nk^ l  
      是否可以用替代的语法替代tags +U)|&1oa  
bnY8.Lpf|  
struts.ui.templateDir [,$mpJCI  
      The directory containing UI templates j=QR*8*  
      UI templates的目录夹 $,zM99  
F20-!b  
struts.ui.theme .-~% w  
      The default UI template theme YJvT p~  
      默认的UI template主题 -&D6w9w  
f#Cdx"  
struts.url.http.port j~f 7WJ  
      The HTTP port used by Struts URLs `"mK\M  
      设置http端口 SWO!E  
Afhx`J1KO  
struts.url.https.port :XZom+>2n  
      The HTTPS port used by Struts URLs UkbQ'P+oS  
      设置https端口 R/cq00g  
\lIHC{V\  
struts.url.includeParams UXB8sS*wQ?  
      The default includeParams method to generate Struts URLs JU \J  
      在url中产生 默认的includeParams _"bvT?|  
$<% nt  
-t'oW*kdL  
struts.velocity.configfile :9q^  
      The Velocity configuration file path UMW^0>Z!v  
      velocity配置文件路径 35kbE'  
OSi9J.]O  
struts.velocity.contexts UZ3Aq12U}a  
      List of Velocity context names \bA'Furp  
      velocity的context列表 d]~1.i  
j?hyN@ns  
pz}hh^]t  
struts.velocity.manager.classname Pc4c Sw#5  
      org.apache.struts2.views.velocity.VelocityManager implementation class Zw 8b -_  
      org.apache.struts2.views.velocity.VelocityManager接口名 bK%tQeT  
xQ 3u  
struts.velocity.toolboxlocation t\d;}@bl  
      The location of the Velocity toolbox '?GZ"C2  
      velocity工具盒的位置 @5VZ   
struts.xslt.nocache kGiw?~t=%  
      Whether or not XSLT templates should not be cached  !Ocg  
      是否XSLT模版应该被缓存 A2_3zrE  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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