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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 p9-0?(]  
TDlZ!$g(  
struts.action.extension e?V,fzg  
      The URL extension to use to determine if the request is meant for a Struts action ~G>jw"r  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 TbLe6x  
vv+D*e&<  
struts.configuration 3;*z3;#}  
      The org.apache.struts2.config.Configuration implementation class ?7 #7:  
        org.apache.struts2.config.Configuration接口名 6b?`:$Cw3)  
P:sAqvH6  
struts.configuration.files +z\\VD  
      A list of configuration files automatically loaded by Struts  I>A^I  
      struts自动加载的一个配置文件列表 D_d|=i  
Q|Pbt(44  
struts.configuration.xml.reload  SLkuT`*  
      Whether to reload the XML configuration or not sV u k  
      是否加载xml配置(true,false) }^"0T-ua  
1SW4Y  
struts.continuations.package naz:A  
      The package containing actions that use Rife continuations ^7uX$  
      含有actions的完整连续的package名称 Kax#OYLpg  
G0}Dq M Ti  
struts.custom.i18n.resources eC~ jgB  
      Location of additional localization properties files to load ,"Tjpdf  
      加载附加的国际化属性文件(不包含.properties后缀) y%4 Gp  
P5xI  
struts.custom.properties ]pnYvXf>!  
      Location of additional configuration properties files to load v ~"Ef_`  
      加载附加的配置文件的位置 |rMq;Rgu?  
n)#Lh 7X"  
k oM]S+1  
struts.devMode ! k,<|8(0  
      Whether Struts is in development mode or not p*|ah%F6N  
      是否为struts开发模式 vMhYpt?7\  
0q{[\51*  
struts.dispatcher.parametersWorkaround IAI(Ix  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic cw;co@!$  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) GR%{T'ZD`  
b,dr+RB  
struts.enable.DynamicMethodInvocation }W$8M>l  
      Allows one to disable dynamic method invocation from the URL i\Yl  
        允许动态方法调用 !z MDP/V  
b^ sb]bZW  
struts.freemarker.manager.classname pI>*u ]x  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class "u;YI=+  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 I!0JG`&  
HA!t$[_Ve  
struts.i18n.encoding b3\B8:XFo|  
      The encoding to use for localization messages xP{-19s1]  
      国际化信息内码 D`Gt  
^agj4$  
struts.i18n.reload =EW3&+Lt  
      Whether the localization messages should automatically be reloaded ?; [ T  
      是否国际化信息自动加载 IaLMWoh  
q#N R32byF  
struts.locale aG! *WHt  
      The default locale for the Struts application D{p5/#|r  
      默认的国际化地区信息 e1unzpWN  
\ZS TKi?  
struts.mapper.class R \5Vq$Q  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class "Sjr_! u  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ! _{d)J  
.x}gg\  
struts.multipart.maxSize ;,XyN+2H  
      The maximize size of a multipart request (file upload) ,r=re!QI7  
      multipart请求信息的最大尺寸(文件上传用) tz4 ]hF  
+TN^NE  
struts.multipart.parser ~c* UAowS  
      The org.apache.struts2.dispatcher.multipart. T%(C-Quh  
      MultiPartRequest parser implementation for a multipart request (file upload) 6tn+m54_  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用)  sTkkM9  
vXdZmYrC  
X |b2c+I  
struts.multipart.saveDir 9tK>gwb  
      The directory to use for storing uploaded files KE.Dt  
      设置存储上传文件的目录夹 NZk&JND  
?x3Jv<G0*  
struts.objectFactory :.uk$jx  
      The com.opensymphony.xwork2.ObjectFactory implementation class 8o|P&q(v*  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ,Ff n)+  
gn ?YF`  
struts.objectFactory.spring.autoWire k4{:9zL1#?  
      Whether Spring should autoWire or not B +Aj*\Y.  
      是否自动绑定Spring !][F  
)(m0cP{7  
struts.objectFactory.spring.useClassCache 7,'kpyCj  
      Whether Spring should use its class cache or not ?NG=8.p  
      是否spring应该使用自身的cache +=eR%|!@  
|QMA@Mx  
struts.objectTypeDeterminer +Ok%e.\ZM  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 2z_2.0/3  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 3c#s|qW  
cin2>3Z$  
struts.serve.static.browserCache |g-b8+.=]  
If static content served by the Struts filter should set browser caching header properties or not e1/sqXWo  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 %8mm Hh  
+ E5=$`  
struts.serve.static !tNd\ }@  
      Whether the Struts filter should serve static content or not T3N"CUk  
      是否struts过滤器应该提供静态内容 i ]o"_=C  
?j{C*|yHO  
struts.tag.altSyntax NfzF.{nh  
      Whether to use the alterative syntax for the tags or not ^jD1vUL 2:  
      是否可以用替代的语法替代tags v`DI<Lt  
\+nGOvM  
struts.ui.templateDir qZk:mlYd  
      The directory containing UI templates A\$ >>Z  
      UI templates的目录夹 P)6 lu8zQ  
0$HmY2 Men  
struts.ui.theme 2e1]}wlK  
      The default UI template theme 27D!'S  
      默认的UI template主题 )oU)}asY  
2.lgT|p  
struts.url.http.port GABQUmtH  
      The HTTP port used by Struts URLs -rSIBc:$8  
      设置http端口 #0"~G][#  
+(?>-3_z  
struts.url.https.port U BZ9A  
      The HTTPS port used by Struts URLs Tum_aI  
      设置https端口 B_^]C9C|  
x,8<tSW)Z  
struts.url.includeParams #=,imsW)  
      The default includeParams method to generate Struts URLs p_2pU)%  
      在url中产生 默认的includeParams 1n=_y o  
u\1>gDI)|  
H!)=y  
struts.velocity.configfile < <Y}~N  
      The Velocity configuration file path +K~NV?c  
      velocity配置文件路径 TgfrI  
Ev9 >@~^  
struts.velocity.contexts jqnCA<G~B-  
      List of Velocity context names D'_Bz8H!p  
      velocity的context列表 }< 5F  
C~4PE>YtTv  
%.HJK  
struts.velocity.manager.classname pz|'l:v^  
      org.apache.struts2.views.velocity.VelocityManager implementation class ..W-76{  
      org.apache.struts2.views.velocity.VelocityManager接口名 #8h ;Bj  
r8/l P}(F  
struts.velocity.toolboxlocation c EnkU]  
      The location of the Velocity toolbox <a^Oj LLU  
      velocity工具盒的位置 BR5BJX  
struts.xslt.nocache > m q,}!n  
      Whether or not XSLT templates should not be cached x/fX`y|(}*  
      是否XSLT模版应该被缓存 F<&!b2)ML  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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