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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ({cWb:+r  
nXERj; Q"  
struts.action.extension 1'1>B  
      The URL extension to use to determine if the request is meant for a Struts action #@E:|^$1y  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 00yWk_w  
6A ptq  
struts.configuration tHr4/  
      The org.apache.struts2.config.Configuration implementation class ~ ^fb`f+%  
        org.apache.struts2.config.Configuration接口名 D/wJF[_  
VKSn \HT~  
struts.configuration.files E *782>  
      A list of configuration files automatically loaded by Struts .S]*A b  
      struts自动加载的一个配置文件列表 @h/-P'Lc=7  
.dwbJT  
struts.configuration.xml.reload ('o} EoXS  
      Whether to reload the XML configuration or not jI9#OEH_g  
      是否加载xml配置(true,false) |fo#pwX  
$Xqc'4YOZ  
struts.continuations.package n"@){:{4?  
      The package containing actions that use Rife continuations h+j*vX/!  
      含有actions的完整连续的package名称 & u6ydN1xe  
KWM}VZY:Z  
struts.custom.i18n.resources 7R,;/3wWjG  
      Location of additional localization properties files to load Uz%ynH  
      加载附加的国际化属性文件(不包含.properties后缀) Zu94dFP  
{e0(M*u  
struts.custom.properties apnpy\in  
      Location of additional configuration properties files to load #8y"1I=i&  
      加载附加的配置文件的位置 F6"s&3D{  
G9@5 !-  
tqjjn5!  
struts.devMode 01NP  
      Whether Struts is in development mode or not >4os%T  
      是否为struts开发模式 &}\{qFD;  
-C* 6>$A  
struts.dispatcher.parametersWorkaround uavyms^  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic **.23<n^W  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) S>jOVWB  
ant2];0p  
struts.enable.DynamicMethodInvocation #c~- 8=  
      Allows one to disable dynamic method invocation from the URL l8e)|MSh  
        允许动态方法调用 ";DozPU  
p$` ^A  
struts.freemarker.manager.classname &kT!GU^n  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class $9u:Ox 2  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 }ktK*4<k  
lwIxn1n  
struts.i18n.encoding b*4aUpW  
      The encoding to use for localization messages 3_]QtP3  
      国际化信息内码 qx*N-,M%k(  
s +E4AG1r  
struts.i18n.reload ubc k{\.  
      Whether the localization messages should automatically be reloaded d<E2=WVB6  
      是否国际化信息自动加载 U~dqxR"Q  
WC b 5  
struts.locale 4JXJ0T ar  
      The default locale for the Struts application z 0F55<i  
      默认的国际化地区信息 nswhYSX  
!_W']Crb]]  
struts.mapper.class -#R63f&  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 2-@t,T  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 PfGiJ]:V-u  
!sYZ1;WAO  
struts.multipart.maxSize :z6?  
      The maximize size of a multipart request (file upload) 6o*'Q8h  
      multipart请求信息的最大尺寸(文件上传用) U /xzl4m6  
L@f&71  
struts.multipart.parser (!Xb8rV0_  
      The org.apache.struts2.dispatcher.multipart. VFm)!'=I  
      MultiPartRequest parser implementation for a multipart request (file upload) K cW 5  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Q5_,`r`  
r$Ik* R  
_qh \  
struts.multipart.saveDir <N3~X,ch  
      The directory to use for storing uploaded files ==trl#kQ%%  
      设置存储上传文件的目录夹 Cu<' b'%;  
}G!'SZ$F 5  
struts.objectFactory fJe5 i6`(  
      The com.opensymphony.xwork2.ObjectFactory implementation class WcpH= "vm  
      com.opensymphony.xwork2.ObjectFactory接口(spring) C'jCIL  
2X(2O':Uc  
struts.objectFactory.spring.autoWire f 0~Z@\  
      Whether Spring should autoWire or not 7e D` is  
      是否自动绑定Spring w7\vrS>&  
e)3Mg^  
struts.objectFactory.spring.useClassCache J?tnS6V  
      Whether Spring should use its class cache or not 6="o&!  
      是否spring应该使用自身的cache k0TQFx.A  
fG{3S:TQq  
struts.objectTypeDeterminer fd62m]X  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class dF|R`Pa2ML  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 1`l(H4  
3_T'0x\FP  
struts.serve.static.browserCache u=E &jL5U  
If static content served by the Struts filter should set browser caching header properties or not Ec}9R3 m  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 #MbY+[Y@v  
#jO2Zu2`}  
struts.serve.static NGEE'4!i7T  
      Whether the Struts filter should serve static content or not yA7O<p+  
      是否struts过滤器应该提供静态内容 \Rha7O  
= \K/ulZo  
struts.tag.altSyntax (&, E}{p9  
      Whether to use the alterative syntax for the tags or not x}x)h3e  
      是否可以用替代的语法替代tags )*7{%Ilq  
_^!C4?2!  
struts.ui.templateDir $XKUw"%  
      The directory containing UI templates "cbJ{ G1pk  
      UI templates的目录夹 `iEYq0}  
&v9"lR=_k  
struts.ui.theme 0BAZWm  
      The default UI template theme _T=";NSa  
      默认的UI template主题 oeI[x  
^}:0\;|N  
struts.url.http.port r]kks_!Z  
      The HTTP port used by Struts URLs >,rzPc)  
      设置http端口 |C,]-mJG  
W>'gG}.  
struts.url.https.port ;2^zkmDM  
      The HTTPS port used by Struts URLs P E[5oH  
      设置https端口 )ub!tm  
?Qts2kae#  
struts.url.includeParams W!TT fj   
      The default includeParams method to generate Struts URLs h645;sb0  
      在url中产生 默认的includeParams L$jii  
0\eSiXs  
Cq-99@&;  
struts.velocity.configfile x/0x&la  
      The Velocity configuration file path z_8Bl2tl  
      velocity配置文件路径 =CL,+  
Z$35`:x&h  
struts.velocity.contexts w2U]RI\?2  
      List of Velocity context names <Zh\6*3:ab  
      velocity的context列表 v~p?YYOm<  
9>_VU"T  
,3)JZM  
struts.velocity.manager.classname f,BJb+0  
      org.apache.struts2.views.velocity.VelocityManager implementation class <YWu/\{KT  
      org.apache.struts2.views.velocity.VelocityManager接口名 ol_&epG;ST  
3;!a'[W&p  
struts.velocity.toolboxlocation 'OMl9}M  
      The location of the Velocity toolbox SO~pe$c-  
      velocity工具盒的位置 472'P  
struts.xslt.nocache H 'nLC,  
      Whether or not XSLT templates should not be cached 9mpQusM  
      是否XSLT模版应该被缓存 [yRqSB  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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