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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 NbTaI{r  
LokH4A17U  
struts.action.extension J3~%9MCJ  
      The URL extension to use to determine if the request is meant for a Struts action j7QK8O$XL  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ?{jey_]M  
S3i p?9  
struts.configuration #oFyi @U  
      The org.apache.struts2.config.Configuration implementation class 9bM kP2w>  
        org.apache.struts2.config.Configuration接口名 c9o]w8p/  
\uZ|2WG`  
struts.configuration.files ^,mN-.W  
      A list of configuration files automatically loaded by Struts WG@3+R>{  
      struts自动加载的一个配置文件列表 iF":c}$.  
_x1W\#  
struts.configuration.xml.reload /CMgWGI  
      Whether to reload the XML configuration or not l U8pX$  
      是否加载xml配置(true,false) LMx/0  
$v[mIR  
struts.continuations.package 3;VH'hh_  
      The package containing actions that use Rife continuations ,msP(*qoI  
      含有actions的完整连续的package名称 1G"ohosmF  
'RhS%l  
struts.custom.i18n.resources #z _<{' P"  
      Location of additional localization properties files to load x;$ESPPg  
      加载附加的国际化属性文件(不包含.properties后缀) 9<&M~(dwT4  
JqZt1um  
struts.custom.properties M. % p'^5  
      Location of additional configuration properties files to load 4hLk+z<n  
      加载附加的配置文件的位置 @/ |g|4  
"]kzt ux  
&P>& T  
struts.devMode `/`iLso& -  
      Whether Struts is in development mode or not ~CbiKez  
      是否为struts开发模式 ^<-)rzTI  
2O*At%CzW  
struts.dispatcher.parametersWorkaround LT o5v  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic gzn:]Y^  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) :r ~iFP*  
J(@" 7RX  
struts.enable.DynamicMethodInvocation jf`w8*R  
      Allows one to disable dynamic method invocation from the URL rab$[?]  
        允许动态方法调用 FU/:'/ L  
5>+@.hPX  
struts.freemarker.manager.classname 'W4B  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class t-o,iaPG3  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 t&Eiz H$  
RXg\A!5GV  
struts.i18n.encoding R`E:`t4G  
      The encoding to use for localization messages -j]c(Q MA]  
      国际化信息内码 WeaT42*Q{  
ygj%VG  
struts.i18n.reload 3<"j/9;K'  
      Whether the localization messages should automatically be reloaded @&`^#pok  
      是否国际化信息自动加载 Xwdcy J!  
 6?*Do  
struts.locale D_0sXIbg  
      The default locale for the Struts application ybqmPT'|_  
      默认的国际化地区信息 o$l8"Uv  
pfHjs3A=  
struts.mapper.class y< j7iN  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class *?d\Zcj85[  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 q~ Z UtF  
>r7PK45.K  
struts.multipart.maxSize /<n7 iIK)  
      The maximize size of a multipart request (file upload) [?|yQ x  
      multipart请求信息的最大尺寸(文件上传用) E:B"!Y6  
vs[!B-  
struts.multipart.parser D (8Z90  
      The org.apache.struts2.dispatcher.multipart. !-^oU"  
      MultiPartRequest parser implementation for a multipart request (file upload) ,b -  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Anu:  
Khi;2{`  
6E K<9M  
struts.multipart.saveDir t0e5L{ QJ  
      The directory to use for storing uploaded files ui,!_O .c  
      设置存储上传文件的目录夹  %G\nl  
8y<.yfgG  
struts.objectFactory 2t_g\Q  
      The com.opensymphony.xwork2.ObjectFactory implementation class l+>Y  
      com.opensymphony.xwork2.ObjectFactory接口(spring) !;h&@LXG(  
{l!{b1KJ  
struts.objectFactory.spring.autoWire h)ZqZ'k$  
      Whether Spring should autoWire or not jT$J~M pHh  
      是否自动绑定Spring 6xtgnl#T  
89^g$ ac  
struts.objectFactory.spring.useClassCache pTG[F  
      Whether Spring should use its class cache or not xWXLk )A  
      是否spring应该使用自身的cache @ Do.Wgt  
O50<h O]l  
struts.objectTypeDeterminer \V!{z;.fA  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 8.. |-<w  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 &z40l['4bz  
4gC(zJ  
struts.serve.static.browserCache e ar:`11z  
If static content served by the Struts filter should set browser caching header properties or not U)Hc 7% e  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 X>yDj]*4P  
(wq8[1Wzup  
struts.serve.static H=,>-eVv*  
      Whether the Struts filter should serve static content or not ;YY<KuT  
      是否struts过滤器应该提供静态内容 YcX"Z~O6j=  
9ghzK?Yc  
struts.tag.altSyntax X"d"a={]  
      Whether to use the alterative syntax for the tags or not /eH37H  
      是否可以用替代的语法替代tags B E8_.>  
4]tg!ks  
struts.ui.templateDir og35Vs0  
      The directory containing UI templates EK=0oy[  
      UI templates的目录夹 rf|Nu3AJ  
ru2M"]T  
struts.ui.theme EC8Z. Uu  
      The default UI template theme u8KQV7E  
      默认的UI template主题 Dt[+HCCY:  
LH_H yP_  
struts.url.http.port |[iO./ zP  
      The HTTP port used by Struts URLs 4GF3.?3  
      设置http端口 " Zhh>cz  
)uOtQ0  
struts.url.https.port #GlFm?/6K/  
      The HTTPS port used by Struts URLs i&lW&]  
      设置https端口 68h1Wjg:"!  
4hxP`!<  
struts.url.includeParams S-o )d  
      The default includeParams method to generate Struts URLs P HOngn  
      在url中产生 默认的includeParams qx1Js3%  
j>;1jzr2}  
.rO~a.kG  
struts.velocity.configfile 2bTS, N/>  
      The Velocity configuration file path qOy(dG g  
      velocity配置文件路径 N [3Y~HX!q  
us?q^>u  
struts.velocity.contexts DoFe:+_U3  
      List of Velocity context names ElpZzGj+  
      velocity的context列表 x3FB`3y~s  
r2+ZxMo|  
WvT H+  
struts.velocity.manager.classname +g7]ga  
      org.apache.struts2.views.velocity.VelocityManager implementation class ?+7~ E8  
      org.apache.struts2.views.velocity.VelocityManager接口名 S@3`H8 [  
4(P<'FK $  
struts.velocity.toolboxlocation v{|y,h&]a  
      The location of the Velocity toolbox CSoVB[vS  
      velocity工具盒的位置 KzV|::S^  
struts.xslt.nocache rQ_cH  
      Whether or not XSLT templates should not be cached z(Uz<*h8  
      是否XSLT模版应该被缓存 2;>uP#1]  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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