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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 (KT+7j0^  
Kp/l2?J"  
struts.action.extension 7i9wfc h$U  
      The URL extension to use to determine if the request is meant for a Struts action \}7xgQ>oV  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 >+*lG>!z  
GUsJF;;V  
struts.configuration Oi~.z@@  
      The org.apache.struts2.config.Configuration implementation class !Ee&e~"  
        org.apache.struts2.config.Configuration接口名 D*)"?L G  
6,skF^   
struts.configuration.files QQUZneIDp  
      A list of configuration files automatically loaded by Struts 05;J7T<  
      struts自动加载的一个配置文件列表 h ?+vH{}j  
BNbz{tbX"  
struts.configuration.xml.reload !]#;'  
      Whether to reload the XML configuration or not E1|:t$>Ld  
      是否加载xml配置(true,false) .c_qMTm"  
Q_|Lv&  
struts.continuations.package .vpx@_;]9  
      The package containing actions that use Rife continuations .WW|v  
      含有actions的完整连续的package名称 iMp_1EXe  
 C0j`H(  
struts.custom.i18n.resources ^L's45&_  
      Location of additional localization properties files to load \-:4TuU  
      加载附加的国际化属性文件(不包含.properties后缀) 'zYx4&s  
rF . Oo0  
struts.custom.properties D}bCMN <  
      Location of additional configuration properties files to load f`p"uLNo<  
      加载附加的配置文件的位置 HO39>:c  
$eh>.c'&]  
@Y+9")?  
struts.devMode c nV2}U/\  
      Whether Struts is in development mode or not '_o(I  
      是否为struts开发模式 $(pVE}J  
6/L34VH  
struts.dispatcher.parametersWorkaround <7J\8JR&=  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ]U3@V#*  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) [L>AU; :  
/3 d6Og  
struts.enable.DynamicMethodInvocation BE," lX  
      Allows one to disable dynamic method invocation from the URL t8"yAYj  
        允许动态方法调用 CNyV6jb  
`qj24ehc  
struts.freemarker.manager.classname c]/&xRd  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class +v|]RgyW)  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 w0fFm"A|W  
/QVhT  
struts.i18n.encoding O@,9a~Ghd  
      The encoding to use for localization messages :-1 i1d  
      国际化信息内码 mbO.Kyfen  
CrEC@5 j  
struts.i18n.reload K=;oZYNd  
      Whether the localization messages should automatically be reloaded uJL[m(G  
      是否国际化信息自动加载 Z~ DR,:  
}&IOBYHVDo  
struts.locale (hIy31Pf  
      The default locale for the Struts application 'E1m-kJz  
      默认的国际化地区信息 a &tl@y1  
u/X1v-2  
struts.mapper.class 0 I[3%Q{  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Lz}mz-N  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 N uq/y=  
CYN|  
struts.multipart.maxSize ~ ^) 4*@i6  
      The maximize size of a multipart request (file upload) 0uf)6(f  
      multipart请求信息的最大尺寸(文件上传用) EB[B0e 7}  
lag%} ^  
struts.multipart.parser O `a4 ")R  
      The org.apache.struts2.dispatcher.multipart. EnXTL]=0S  
      MultiPartRequest parser implementation for a multipart request (file upload) X##hSGQM  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) *W=R:Bl!  
_.3O(?p,  
5KwT(R o  
struts.multipart.saveDir ]jwF[D  
      The directory to use for storing uploaded files UU]a).rz  
      设置存储上传文件的目录夹 kY`L[1G$  
f;%\4TH?  
struts.objectFactory #N `Z)}Jm  
      The com.opensymphony.xwork2.ObjectFactory implementation class ffS]%qa  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ;TG<$4N  
+(J{~A~  
struts.objectFactory.spring.autoWire SHP_  
      Whether Spring should autoWire or not ER*Et+ >  
      是否自动绑定Spring y4 ~;H{!  
S%k](\7!  
struts.objectFactory.spring.useClassCache 8zk?:?8%{  
      Whether Spring should use its class cache or not B&c*KaK;~  
      是否spring应该使用自身的cache 44(l1xEN+  
*9xv0hRQ%?  
struts.objectTypeDeterminer :sXn*k4v  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class W\JwEb9Y  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 B]5G"4,  
4Rev7Mc  
struts.serve.static.browserCache h;2n2.Q  
If static content served by the Struts filter should set browser caching header properties or not <GRrw  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 MLn\ b0  
:I^I=A%Pe(  
struts.serve.static B]|"ePj-  
      Whether the Struts filter should serve static content or not UBve a(z-#  
      是否struts过滤器应该提供静态内容 C.oC@P  
u.L{3gkT  
struts.tag.altSyntax zQ~8(E]Rf  
      Whether to use the alterative syntax for the tags or not uP veAK}h  
      是否可以用替代的语法替代tags q3-V_~5^/z  
O %?d0K  
struts.ui.templateDir W4o$J4IX{  
      The directory containing UI templates 0*}%v:uN9  
      UI templates的目录夹 )Y@mL/_  
W: vw.  
struts.ui.theme l|p \8=  
      The default UI template theme ?:XbZ"25pJ  
      默认的UI template主题 "OO"Ab{t  
HCTjFW>C  
struts.url.http.port o&b1-=MC2  
      The HTTP port used by Struts URLs cq \()uF'c  
      设置http端口 Erd)P  
1dahVc1W  
struts.url.https.port 2[R{IV8e  
      The HTTPS port used by Struts URLs _0(Bx?[h  
      设置https端口 Pf?y!d K<  
^&6'FE  
struts.url.includeParams iN+Tig?c  
      The default includeParams method to generate Struts URLs E||[(l,b  
      在url中产生 默认的includeParams c>nXnN  
NRgNW1#  
rYYAZ(\8  
struts.velocity.configfile j[<}l&  
      The Velocity configuration file path U$5 lh  
      velocity配置文件路径 WGeTL`}dh  
z}:|is)?  
struts.velocity.contexts 1rmK#ld"=Z  
      List of Velocity context names vkQkU,q  
      velocity的context列表 c3$h-M(jVJ  
V"{+cPBO)  
uNSbAw3  
struts.velocity.manager.classname '8b/TL  
      org.apache.struts2.views.velocity.VelocityManager implementation class $Q cr  
      org.apache.struts2.views.velocity.VelocityManager接口名  B1!b@0^  
0kdPr:B Q0  
struts.velocity.toolboxlocation Z U^dLN- N  
      The location of the Velocity toolbox KixS)sG  
      velocity工具盒的位置 r|>a;n Y  
struts.xslt.nocache 2po>%Cp  
      Whether or not XSLT templates should not be cached 1^4z/<ZWm  
      是否XSLT模版应该被缓存 nR1QS_@{L  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
10+5=?,请输入中文答案:十五