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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 vsCy?  
f\M;m9{(  
struts.action.extension 7T9Mo .  
      The URL extension to use to determine if the request is meant for a Struts action  *4{GI D  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 $pYT#_P!/  
)?,X\/5  
struts.configuration Hd0?}w\  
      The org.apache.struts2.config.Configuration implementation class A>Oi9%OY:  
        org.apache.struts2.config.Configuration接口名 `1U?^9Nf  
rtgu{m02  
struts.configuration.files /-&a]PJ  
      A list of configuration files automatically loaded by Struts 1 c4I`#_v  
      struts自动加载的一个配置文件列表 ~z*A%vp6ER  
orr6._xw  
struts.configuration.xml.reload t(.xEl;Ma  
      Whether to reload the XML configuration or not Q.])En >i  
      是否加载xml配置(true,false) *lws7R  
M}b[;/~  
struts.continuations.package u MM?s?q  
      The package containing actions that use Rife continuations !&8HA   
      含有actions的完整连续的package名称 xO` O$ie  
Oxhc!9F  
struts.custom.i18n.resources dQH9NsV7g  
      Location of additional localization properties files to load P[bj {lo  
      加载附加的国际化属性文件(不包含.properties后缀) XCU>b[Cj,  
(cEjC`]  
struts.custom.properties QGQ}I  
      Location of additional configuration properties files to load ;chz};zY  
      加载附加的配置文件的位置 k_%"#  
0 P-eC|0  
 C%\.  
struts.devMode p$OkWSi~  
      Whether Struts is in development mode or not f<aJiVP  
      是否为struts开发模式 h oL"K  
CYWL@<p,  
struts.dispatcher.parametersWorkaround 2<' 1m{  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic BD (  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) @ wJ|vW_.  
j_2yTz"G-  
struts.enable.DynamicMethodInvocation zd+<1R;  
      Allows one to disable dynamic method invocation from the URL | ?])]F  
        允许动态方法调用 CHX- 4-84{  
j6{9XIR o_  
struts.freemarker.manager.classname :")iS?l  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 4! V--F  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 u!WjG@  
Yr9!</;T  
struts.i18n.encoding {E+o+2L  
      The encoding to use for localization messages idh5neyL  
      国际化信息内码 } :8{z`4H  
vpl> 5%  
struts.i18n.reload 0($ O1j~$  
      Whether the localization messages should automatically be reloaded y7)$~R):-  
      是否国际化信息自动加载 yw9)^JU8"  
.q^+llM  
struts.locale ?* %J Gz_  
      The default locale for the Struts application lYt|C^  
      默认的国际化地区信息 F 7~T=X)1  
BLs kUrPF  
struts.mapper.class @z!|HLD+  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class :CJ]^v   
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 x^ruPiH  
0X"D!G):  
struts.multipart.maxSize #.kDin~!  
      The maximize size of a multipart request (file upload) )$_b?  
      multipart请求信息的最大尺寸(文件上传用) gnPu{-Ec*  
_9Zwg+oO[  
struts.multipart.parser +vh 4I  
      The org.apache.struts2.dispatcher.multipart. o> i`Jq&  
      MultiPartRequest parser implementation for a multipart request (file upload) W~e/3#R\=  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Z} Ld!Byz  
9e*v&A2Y'  
O0VbKW0h3  
struts.multipart.saveDir 3"ii_#1  
      The directory to use for storing uploaded files ya^zlj\`0e  
      设置存储上传文件的目录夹 i`}nv,  
R8U?s/*  
struts.objectFactory W%bzA11l  
      The com.opensymphony.xwork2.ObjectFactory implementation class p#eai  
      com.opensymphony.xwork2.ObjectFactory接口(spring) B5iVT<:a  
?i8a)!U  
struts.objectFactory.spring.autoWire qfQg?Mr  
      Whether Spring should autoWire or not 1:+f@#  
      是否自动绑定Spring R!8qkG  
/ .ddx<  
struts.objectFactory.spring.useClassCache !C$bOhc  
      Whether Spring should use its class cache or not E 9LKVs}  
      是否spring应该使用自身的cache D[5Qd)PIL  
wgb e7-{  
struts.objectTypeDeterminer a*4l!-7  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class :t36]NM  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口  *Fe  
~ojH$=K>d  
struts.serve.static.browserCache D|`I"N[<  
If static content served by the Struts filter should set browser caching header properties or not :QV-!  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 B]o5 HA<k  
2# y!(D8  
struts.serve.static "DniDA  
      Whether the Struts filter should serve static content or not <FfdOK_  
      是否struts过滤器应该提供静态内容 I#m0n%-[  
 XAb!hc   
struts.tag.altSyntax TzJp3  
      Whether to use the alterative syntax for the tags or not E~y@ue:  
      是否可以用替代的语法替代tags K~ 6[zJ4  
uFzvb0O`O  
struts.ui.templateDir YFF\m{#  
      The directory containing UI templates I|27%i  
      UI templates的目录夹 #@#/M)  
AP8YY8,  
struts.ui.theme QX]~|?q  
      The default UI template theme tTzPT<  
      默认的UI template主题 C{r Sq  
I}&`IUP  
struts.url.http.port X<OOgC  
      The HTTP port used by Struts URLs GRt1]%l#$  
      设置http端口 ZT \=:X*e  
/R2K3E#  
struts.url.https.port 8hK\Ya:mP  
      The HTTPS port used by Struts URLs HX(Z(rcI  
      设置https端口 1m52vQSo3l  
l20fA-T _I  
struts.url.includeParams bP4<q?FKcN  
      The default includeParams method to generate Struts URLs ac-R q.GQY  
      在url中产生 默认的includeParams %SHjJCS3  
b xU13ESv  
/ p_mFA]@  
struts.velocity.configfile vU X(h.}8  
      The Velocity configuration file path ? ^E B"{  
      velocity配置文件路径 Od?M4Ed(  
eq|G\XJ  
struts.velocity.contexts \sUk71L` j  
      List of Velocity context names $<y10DfO  
      velocity的context列表 ]Tb ?k+a  
VeJM=s.y7  
Bbb_}y|CA  
struts.velocity.manager.classname w4S0aR:yL  
      org.apache.struts2.views.velocity.VelocityManager implementation class zSpL^:~  
      org.apache.struts2.views.velocity.VelocityManager接口名 h;^H*Y&`  
2W}f|\8MX  
struts.velocity.toolboxlocation M7\; Y  
      The location of the Velocity toolbox cVg!"  
      velocity工具盒的位置 `eF&|3!IYQ  
struts.xslt.nocache 4z_>CiA  
      Whether or not XSLT templates should not be cached "I)*W8wTn  
      是否XSLT模版应该被缓存 dKOW5\H'  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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