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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 @y|_d  
} :?.>#  
struts.action.extension " Ar*QJ0]  
      The URL extension to use to determine if the request is meant for a Struts action !K0JV|-?t  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 <vc`^Q&4B  
3I=kr  
struts.configuration +a+`Z>  
      The org.apache.struts2.config.Configuration implementation class Ob<W/-%5tH  
        org.apache.struts2.config.Configuration接口名 W{"XJt_  
=U-r*sGLN  
struts.configuration.files _}Ps(_5D  
      A list of configuration files automatically loaded by Struts UWXm?v2j  
      struts自动加载的一个配置文件列表 7"v$- Wy  
-w 6 "?  
struts.configuration.xml.reload yJ2B3i@T 4  
      Whether to reload the XML configuration or not 4&X*pL2;  
      是否加载xml配置(true,false) dZ(|uC!?  
4dh+  
struts.continuations.package 8<#U9]  
      The package containing actions that use Rife continuations )NW6?Pu"  
      含有actions的完整连续的package名称 ]<w:V`(  
":W%,`@$  
struts.custom.i18n.resources GH4iuPh]  
      Location of additional localization properties files to load L/r@ S'  
      加载附加的国际化属性文件(不包含.properties后缀) IMLsQit*  
`$R A< 3  
struts.custom.properties rAqxTdF  
      Location of additional configuration properties files to load {I1~-8  
      加载附加的配置文件的位置 ]]iPEm"@  
WQePSU  
o|8`>!hF  
struts.devMode t}p@:'  
      Whether Struts is in development mode or not V64L,u#`l  
      是否为struts开发模式 Zm TDQ`Ix  
1(dj[3Mt  
struts.dispatcher.parametersWorkaround `sHuM*  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic "5|Lz)=  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) i76 Yo5  
?pGkk=,KB  
struts.enable.DynamicMethodInvocation 3`V1XE.;  
      Allows one to disable dynamic method invocation from the URL #;tT8[Ewuw  
        允许动态方法调用 woOy*)@  
Ubz"rCjq  
struts.freemarker.manager.classname viaJblYj(f  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 2z0n<`  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 qN| fEO>  
df*w>xS  
struts.i18n.encoding y9HK |  
      The encoding to use for localization messages <9A@`_';Aq  
      国际化信息内码 j ) vlM+  
\+PIe7f_  
struts.i18n.reload \' li  
      Whether the localization messages should automatically be reloaded (Ye>Cp+]  
      是否国际化信息自动加载 -e@!  
gPC@Yy  
struts.locale qCMl!g'  
      The default locale for the Struts application U yqXMbw@  
      默认的国际化地区信息 E8}+k o  
sKaE-sbJY  
struts.mapper.class Oxx^[ju~  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class [bQj,PZ&  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 !^fa.I'mM  
$ItF])Bj5N  
struts.multipart.maxSize Ze^jG-SL$9  
      The maximize size of a multipart request (file upload) I*[tMzE  
      multipart请求信息的最大尺寸(文件上传用) H^%.=kf  
rp34?/Nz  
struts.multipart.parser &~sfYW  
      The org.apache.struts2.dispatcher.multipart. ^(x^6d  
      MultiPartRequest parser implementation for a multipart request (file upload) `(4pu6uT  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) BNGe exs@  
u62)QJE  
@Cq? :o<  
struts.multipart.saveDir kUHE\L.Y]  
      The directory to use for storing uploaded files Zf*r2t1&P  
      设置存储上传文件的目录夹 KU&G;ni2  
_Tm0x>EM  
struts.objectFactory N]/!mo?  
      The com.opensymphony.xwork2.ObjectFactory implementation class r8MZvm2  
      com.opensymphony.xwork2.ObjectFactory接口(spring) /i|z.nNO  
d4^`}6@  
struts.objectFactory.spring.autoWire Tp%(I"H'_;  
      Whether Spring should autoWire or not pa .K-e)Mu  
      是否自动绑定Spring 3eIr{xs  
nY?  
struts.objectFactory.spring.useClassCache 1qdZ c_x  
      Whether Spring should use its class cache or not g<*jlM1r  
      是否spring应该使用自身的cache uYO|5a<f~  
rjA@U<o  
struts.objectTypeDeterminer e,1u  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class W=}Okq)x9I  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 /!FWuRe^  
Xo5$X7m  
struts.serve.static.browserCache h\[\\m O  
If static content served by the Struts filter should set browser caching header properties or not AD5) .}[F  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 HaNboYW_K  
/)|X.D  
struts.serve.static "&YYO#YO  
      Whether the Struts filter should serve static content or not l3i,K^YL  
      是否struts过滤器应该提供静态内容 Eh8Pwt7C@  
2h~-  
struts.tag.altSyntax jh ez  
      Whether to use the alterative syntax for the tags or not .q`{Dgc~  
      是否可以用替代的语法替代tags N"5fmY<  
+54aO  
struts.ui.templateDir Tt# bg1  
      The directory containing UI templates D@Da0  
      UI templates的目录夹 J@"utY6N  
t@zdm y  
struts.ui.theme KlxN~/gyik  
      The default UI template theme "`tXA  
      默认的UI template主题 eBW=^B"y+  
Jcf"#u-Q/  
struts.url.http.port P!g-X%ngo  
      The HTTP port used by Struts URLs X~T/qFS   
      设置http端口 aC=['a>)  
~Vh=5J~  
struts.url.https.port }6zbT-i  
      The HTTPS port used by Struts URLs %FkLQ+v/<  
      设置https端口 'JmBh@A  
q ojXrSb"y  
struts.url.includeParams n$+M%}/f  
      The default includeParams method to generate Struts URLs f|3q^wjs  
      在url中产生 默认的includeParams GRYe<K  
#XIc "L)c  
Qc-(*}  
struts.velocity.configfile ;6;H*Y0,|E  
      The Velocity configuration file path 8^ep/b&|  
      velocity配置文件路径 lvSdY(8  
{a q9i  
struts.velocity.contexts :> -1'HC  
      List of Velocity context names @uleyB  
      velocity的context列表 3x*z\VJ  
s&PM,BFf  
|w&~g9   
struts.velocity.manager.classname cSD{$B:  
      org.apache.struts2.views.velocity.VelocityManager implementation class H?rg5TI0  
      org.apache.struts2.views.velocity.VelocityManager接口名 L&2u[ml  
BNm4k7 ]M  
struts.velocity.toolboxlocation 7ET jn)%bs  
      The location of the Velocity toolbox h BMH)aU  
      velocity工具盒的位置 eQN.sl5  
struts.xslt.nocache AHh#Fx+K  
      Whether or not XSLT templates should not be cached a' FN 3  
      是否XSLT模版应该被缓存 n2-0.Er  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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