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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 8 OC5L1  
Cnf;5/  
struts.action.extension 5r/QPJ<h  
      The URL extension to use to determine if the request is meant for a Struts action 6suB!XF;  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Z5~dU{XsT  
WH :+HNl1d  
struts.configuration L;.6j*E*  
      The org.apache.struts2.config.Configuration implementation class X70vDoW  
        org.apache.struts2.config.Configuration接口名 j9C=m"O  
5n;|K]UW  
struts.configuration.files Avw"[~Xd  
      A list of configuration files automatically loaded by Struts 9[5NnRv$P  
      struts自动加载的一个配置文件列表 .FK'T G  
&B3Eq 1A  
struts.configuration.xml.reload /:dVW" A|  
      Whether to reload the XML configuration or not Y.rHl4  
      是否加载xml配置(true,false) (\FjbY9&  
%o< &O(Y  
struts.continuations.package s<0yQ-=.?N  
      The package containing actions that use Rife continuations Vja' :i  
      含有actions的完整连续的package名称 1DcYc-k#  
9,5v%HZ  
struts.custom.i18n.resources ri~dWx  
      Location of additional localization properties files to load wbI(o4rXE  
      加载附加的国际化属性文件(不包含.properties后缀) &:L8; m  
P,AS`=z  
struts.custom.properties 9\TvX!)h  
      Location of additional configuration properties files to load `h5HA-ud  
      加载附加的配置文件的位置 ;}K1c+m!5V  
aq"E@fb  
U0u@[9!  
struts.devMode R@>R@V>c  
      Whether Struts is in development mode or not [a;lYsOsJ  
      是否为struts开发模式 ~bT0gIc  
hXS'*vO"  
struts.dispatcher.parametersWorkaround P&| =  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic s9'g'O5  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) DMcvu*A  
M4M 4*o  
struts.enable.DynamicMethodInvocation c}vy9m$B_  
      Allows one to disable dynamic method invocation from the URL do*`-SDy  
        允许动态方法调用 *Q=-7a m  
aGp <%d  
struts.freemarker.manager.classname Hk2@X(  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 0]8+rWp|Nz  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 /0SG  
&{&lCBN  
struts.i18n.encoding a[s%2>e  
      The encoding to use for localization messages 3]'=s>UO>^  
      国际化信息内码 =YA%= d_  
'DsfKR^ s  
struts.i18n.reload &0f7>.y  
      Whether the localization messages should automatically be reloaded [k-7Kq  
      是否国际化信息自动加载 m|~,#d@  
f]$ g9H  
struts.locale doc5;?6   
      The default locale for the Struts application KGi@H%NN  
      默认的国际化地区信息 @babgP,  
y5a^xRDw  
struts.mapper.class EN.yU!N.4  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class f]T1:N*t  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 S,AZrgh,"X  
b9|F>3?r>  
struts.multipart.maxSize ^1,]?F^  
      The maximize size of a multipart request (file upload) l=9 &  
      multipart请求信息的最大尺寸(文件上传用) oZ6xHdPc4  
f;u;hQxs  
struts.multipart.parser ScGmft3A  
      The org.apache.struts2.dispatcher.multipart. nIph[Vs-Z  
      MultiPartRequest parser implementation for a multipart request (file upload) ygpC1nN  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) d;lp^K M  
tP!sOvQ:  
 +KFK..  
struts.multipart.saveDir  aSHZR  
      The directory to use for storing uploaded files ?0[%+AD hM  
      设置存储上传文件的目录夹 AG}' W  
9[T#uh!DC  
struts.objectFactory JPQ02&e  
      The com.opensymphony.xwork2.ObjectFactory implementation class 4)Pt]#Ti  
      com.opensymphony.xwork2.ObjectFactory接口(spring) \<lV),  
0 {{7"  
struts.objectFactory.spring.autoWire Q k-y 0  
      Whether Spring should autoWire or not $6!`  
      是否自动绑定Spring G&C)`};  
3=bzIU  
struts.objectFactory.spring.useClassCache oK5(,8 (4  
      Whether Spring should use its class cache or not 8GlH)J+kq  
      是否spring应该使用自身的cache r@%32h  
fY%Sw7ql<  
struts.objectTypeDeterminer NBMY1Xgj  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class "r"]NyM  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 T>f-b3dk  
8QC:ro  
struts.serve.static.browserCache w5|@vB/pj  
If static content served by the Struts filter should set browser caching header properties or not P#ru-0DD  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 y_$^Po  
L6 _Sc-sU  
struts.serve.static ;k/0N~  
      Whether the Struts filter should serve static content or not pNiqb+^nz  
      是否struts过滤器应该提供静态内容 7KM!\"PM  
? !~au0  
struts.tag.altSyntax jHz]  
      Whether to use the alterative syntax for the tags or not gP1$#KgU  
      是否可以用替代的语法替代tags UO:>^,(j  
BM&'3K_y  
struts.ui.templateDir g X(QRQ  
      The directory containing UI templates 8#Z$}?W  
      UI templates的目录夹 RuRJjcnY  
9oq(5BG,  
struts.ui.theme :cynZab  
      The default UI template theme '!1lK  
      默认的UI template主题 ["L?t ^*G  
!Aw.f!  
struts.url.http.port cuKgO{.GH  
      The HTTP port used by Struts URLs nAts.pVy"  
      设置http端口 b/5~VY*T  
0e7v ?UT  
struts.url.https.port x~{ m%)I  
      The HTTPS port used by Struts URLs i;dr(c/ft  
      设置https端口 X4/r#<Da  
/ TJTu_#  
struts.url.includeParams t]&n_]`{.  
      The default includeParams method to generate Struts URLs ^9{ 2  
      在url中产生 默认的includeParams "t\9@nzdX  
/:USpuu  
F H%yyT  
struts.velocity.configfile %##9.Xm6l  
      The Velocity configuration file path 1^W Aps  
      velocity配置文件路径 Bkz   
s~63JDy"E  
struts.velocity.contexts 5rcno.~QO  
      List of Velocity context names 92tb`'  
      velocity的context列表 [R:O'AP}@}  
rvfl~<G*  
Z'j<wRf  
struts.velocity.manager.classname *l9Y]hinq  
      org.apache.struts2.views.velocity.VelocityManager implementation class kU^@R<Fo  
      org.apache.struts2.views.velocity.VelocityManager接口名 :iWV:0)P  
q;AQ6k(  
struts.velocity.toolboxlocation ?41| e+p  
      The location of the Velocity toolbox >qgBu_  
      velocity工具盒的位置 2 rBF<z7  
struts.xslt.nocache oDP|>yXC)  
      Whether or not XSLT templates should not be cached }`g*pp*  
      是否XSLT模版应该被缓存 Anm5Cvt;i  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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