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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 m@UrFPZ  
k?rJGc G  
struts.action.extension m Ga:~x  
      The URL extension to use to determine if the request is meant for a Struts action ExM VGe  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 <'QI_mP*  
hV+=hX<h  
struts.configuration M?AKJE j5  
      The org.apache.struts2.config.Configuration implementation class qi ">AQpp  
        org.apache.struts2.config.Configuration接口名 Bg] %  
Ylyk/  
struts.configuration.files gZiwXb  
      A list of configuration files automatically loaded by Struts =ym<yI<  
      struts自动加载的一个配置文件列表 vOLa.%X]h  
cvQAo|  
struts.configuration.xml.reload i{16&4 '  
      Whether to reload the XML configuration or not UmArl)R/  
      是否加载xml配置(true,false) |+KwyHE`9  
?\)h2oi!F5  
struts.continuations.package ~N2=44e  
      The package containing actions that use Rife continuations t .}];IJP  
      含有actions的完整连续的package名称 2m"cK^  
pSI8"GwQ  
struts.custom.i18n.resources (AX$S vw  
      Location of additional localization properties files to load uQ&> Wk  
      加载附加的国际化属性文件(不包含.properties后缀) ` Z/ MQ  
e0#t  
struts.custom.properties 'tDUPm38  
      Location of additional configuration properties files to load xI.0m  
      加载附加的配置文件的位置 ~4|Trz2T  
'c_K[p$  
5f MlOP_  
struts.devMode Pf/8tXs}  
      Whether Struts is in development mode or not 0yvp>{;p  
      是否为struts开发模式 pTB7k3g  
t-5 Y,}j  
struts.dispatcher.parametersWorkaround k]^ya?O]p  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic oh@Ha?  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) $4}G  
'kco. 1{  
struts.enable.DynamicMethodInvocation "$aoIXv  
      Allows one to disable dynamic method invocation from the URL B,&QI&k`~  
        允许动态方法调用 yn"4qC#Z  
7xQ:[P!G+  
struts.freemarker.manager.classname G')zDx  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class }'faf{W  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 j@w1S[vt  
:`E p#[Wvo  
struts.i18n.encoding d S'J@e=#  
      The encoding to use for localization messages l^$'6q"  
      国际化信息内码 qGX#(,E9;  
+jK-k_  
struts.i18n.reload IibYGF  
      Whether the localization messages should automatically be reloaded H cyoNY  
      是否国际化信息自动加载 [q C0YM  
Nd+1r|e'  
struts.locale GKjtX?~1  
      The default locale for the Struts application x$bUd 9  
      默认的国际化地区信息 aL`wz !  
"<{|ni}  
struts.mapper.class X:I2wJDs\  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class  jr_z ?  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 f0j]!g  
"*.N'J\  
struts.multipart.maxSize }r!+wp   
      The maximize size of a multipart request (file upload) Yb4ku7}  
      multipart请求信息的最大尺寸(文件上传用) kY!zBk  
W &:0J  
struts.multipart.parser F>3 o0ke}  
      The org.apache.struts2.dispatcher.multipart. k& +gkJm  
      MultiPartRequest parser implementation for a multipart request (file upload) RGs7Hc  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ? dHl'  
wwywiFj  
aidQ,(PDj  
struts.multipart.saveDir AS@(]T#R  
      The directory to use for storing uploaded files 2%L`b"9}V  
      设置存储上传文件的目录夹 vV*J;%MO  
fU?#^Lg  
struts.objectFactory lgS7;  
      The com.opensymphony.xwork2.ObjectFactory implementation class 1YJ?Y  
      com.opensymphony.xwork2.ObjectFactory接口(spring) biU_ImJ>0  
|Tc4a4jS  
struts.objectFactory.spring.autoWire zL9~gJ  
      Whether Spring should autoWire or not 0 p ?AL=  
      是否自动绑定Spring lux g1>  
@fJsRWvGq  
struts.objectFactory.spring.useClassCache CoNaGb  
      Whether Spring should use its class cache or not zSQy  
      是否spring应该使用自身的cache j6Sg~nRh  
<+-n lK4  
struts.objectTypeDeterminer 5lJL[{  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ^/#G,MxNy  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 fZ5 UFq_~s  
k&%i+5X  
struts.serve.static.browserCache IsE3-X|  
If static content served by the Struts filter should set browser caching header properties or not GCq4{_B\Q  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 L!zdrCM  
Q}OloA(+  
struts.serve.static op5 `#{  
      Whether the Struts filter should serve static content or not >e R^G5rn;  
      是否struts过滤器应该提供静态内容 *jbPy?%oY  
9\<q =p~  
struts.tag.altSyntax N`,\1hHMT  
      Whether to use the alterative syntax for the tags or not kx?Yin8K  
      是否可以用替代的语法替代tags V){Io_"  
r6'dEa  
struts.ui.templateDir DAP/  
      The directory containing UI templates .ex;4( -!  
      UI templates的目录夹 ^@O 7d1&y  
)!\6 "{  
struts.ui.theme YCh`V[0  
      The default UI template theme 5;HGS{`  
      默认的UI template主题 |[Fb&x  
hN6wp_  
struts.url.http.port V%PQlc.X  
      The HTTP port used by Struts URLs ?o?$HK   
      设置http端口 $zp|()_  
}Le]qoW['  
struts.url.https.port ?%UiW7}j';  
      The HTTPS port used by Struts URLs oJr+RO  
      设置https端口 p|2GPrA]aL  
[B+F}Q^;  
struts.url.includeParams 6>rz=yAM_  
      The default includeParams method to generate Struts URLs U364'O8_  
      在url中产生 默认的includeParams |cY,@X,X6  
8|=C/k  
(w)%2vZ^  
struts.velocity.configfile ; Z7!BU  
      The Velocity configuration file path h7q{i|5  
      velocity配置文件路径 5rB>)p05[  
7<!x:G?C  
struts.velocity.contexts <_<zrXc]  
      List of Velocity context names X+N5iT  
      velocity的context列表 GZu12\0nZ  
.=J- !{z  
o cW~I3  
struts.velocity.manager.classname 6,q_ M(;c  
      org.apache.struts2.views.velocity.VelocityManager implementation class /~w*)e)  
      org.apache.struts2.views.velocity.VelocityManager接口名 r^}0 qO,XM  
sV,Yz3E<u$  
struts.velocity.toolboxlocation 1L4-;HYJm  
      The location of the Velocity toolbox 1b3k|s4   
      velocity工具盒的位置 YR-G:-(#b  
struts.xslt.nocache h`\ $8 oV  
      Whether or not XSLT templates should not be cached UHvA43  
      是否XSLT模版应该被缓存 */aQ+%>jf  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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