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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 \Hs*46@TC  
Ua2waA  
struts.action.extension BGOajYD  
      The URL extension to use to determine if the request is meant for a Struts action uGW!~qAr*  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 49?wEm#  
0` y*7.Ip  
struts.configuration FJCLK#-  
      The org.apache.struts2.config.Configuration implementation class :I !}ZD+Z  
        org.apache.struts2.config.Configuration接口名 [0M`uf/u  
oH ] _2[ !  
struts.configuration.files L#6!W  
      A list of configuration files automatically loaded by Struts ^1mnw@04  
      struts自动加载的一个配置文件列表 N}\%r&KR=  
5"WI^"6b:  
struts.configuration.xml.reload f]C`]qg  
      Whether to reload the XML configuration or not @yj$  
      是否加载xml配置(true,false) KKcajN  
\M U-D,@  
struts.continuations.package WM8])}<L  
      The package containing actions that use Rife continuations dMlJ2\ ]u  
      含有actions的完整连续的package名称 &)ED||r,  
E gD$A!6N8  
struts.custom.i18n.resources .:I^O[k  
      Location of additional localization properties files to load :6[G;F7s  
      加载附加的国际化属性文件(不包含.properties后缀) 9pMXjsE   
pAtt=R,Ht  
struts.custom.properties ]*]#I?&'Hx  
      Location of additional configuration properties files to load =!N,{V_  
      加载附加的配置文件的位置 "969F(S$  
Z(Z$>P&4  
bHK[Z5  
struts.devMode 9~5LKg7Ac  
      Whether Struts is in development mode or not Tf{lH9ca$  
      是否为struts开发模式 F"| ;  
s^R$u"pFs  
struts.dispatcher.parametersWorkaround LF X[v   
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic f!K{f[aDa  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 9cXL4  
UpSa7F:Uw  
struts.enable.DynamicMethodInvocation 'Y22HVUX  
      Allows one to disable dynamic method invocation from the URL V M{Sng  
        允许动态方法调用 JKY  
lKBI3oYn  
struts.freemarker.manager.classname q5G`N>"V  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class x,j%3/J^2  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 3S=$ng  
W!R7D%nX  
struts.i18n.encoding .$U=ng j\t  
      The encoding to use for localization messages Sah!|9  
      国际化信息内码 h )% e  
P/,ezVb=  
struts.i18n.reload FG5YZrONx  
      Whether the localization messages should automatically be reloaded ZYLPk<<  
      是否国际化信息自动加载 1deK}5'  
UXPF"}S2  
struts.locale OIY  
      The default locale for the Struts application kk$D:UQX  
      默认的国际化地区信息 )u=46EU_  
U&o ~U] rm  
struts.mapper.class IO{iQ-Mg  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class v`\CzT  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Mt*eC)~ Yx  
2v{42]XYf  
struts.multipart.maxSize sB=s .`9  
      The maximize size of a multipart request (file upload) C {G647  
      multipart请求信息的最大尺寸(文件上传用) ? ]H'egG6  
X3j|J/  
struts.multipart.parser [!j;jlh7},  
      The org.apache.struts2.dispatcher.multipart. 9/PX~j9O?  
      MultiPartRequest parser implementation for a multipart request (file upload) 30{+gYA  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) S9E<)L  
p>1Klh:8.'  
|[iEi  
struts.multipart.saveDir *t bgIW+h  
      The directory to use for storing uploaded files ZK`x(h{p)  
      设置存储上传文件的目录夹 L.x`Jpq(3  
wpf  
struts.objectFactory `,s0^?_  
      The com.opensymphony.xwork2.ObjectFactory implementation class #&Fd16ov  
      com.opensymphony.xwork2.ObjectFactory接口(spring) T~naAP  
Z|BOuB^   
struts.objectFactory.spring.autoWire ,!bcm  
      Whether Spring should autoWire or not o@qI!?p&  
      是否自动绑定Spring >a)6GZ@  
F>U*Wy  
struts.objectFactory.spring.useClassCache 0IxHB|^$  
      Whether Spring should use its class cache or not l'RuzBQr  
      是否spring应该使用自身的cache SD.c 9  
K_}81|=  
struts.objectTypeDeterminer \79aG3MyK  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class &`}ACTY'P  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 7!A3PDAe  
Q5c13g2(c  
struts.serve.static.browserCache .#_g.0<  
If static content served by the Struts filter should set browser caching header properties or not uz@lz +  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 oR}'I  
vFK!LeF%  
struts.serve.static s@K #M  
      Whether the Struts filter should serve static content or not RJE<1!{  
      是否struts过滤器应该提供静态内容 :9W)CwZ)V  
W:1GY#Pe  
struts.tag.altSyntax kj@m5`G  
      Whether to use the alterative syntax for the tags or not :o_6  
      是否可以用替代的语法替代tags ~-BIU Z;  
z<u@::  
struts.ui.templateDir v;:. k,E0  
      The directory containing UI templates  V/t-  
      UI templates的目录夹 Mo&Po9  
kjRL|qx`a;  
struts.ui.theme *W<|5<<u@  
      The default UI template theme Za'}26  
      默认的UI template主题 eXQzCm  
[p96H)8YU  
struts.url.http.port }^ZPah  
      The HTTP port used by Struts URLs ca"20NQ)  
      设置http端口 Y4)=D@JI  
2^fSC`!  
struts.url.https.port u<nPJeE  
      The HTTPS port used by Struts URLs p 4Y 2AQ9  
      设置https端口 to3D#9Ep  
c59l/qoz  
struts.url.includeParams d~w}{LR[1  
      The default includeParams method to generate Struts URLs /;9]LC.g  
      在url中产生 默认的includeParams 0[!38  
ZZU"Q7`^  
;op 8r u  
struts.velocity.configfile gro@+^DmT  
      The Velocity configuration file path $-lP"m@}  
      velocity配置文件路径 f/]g@/`  
+"D*0gYD  
struts.velocity.contexts sRSy++FRF  
      List of Velocity context names T0lbMp  
      velocity的context列表 Z$ 6yB  
H:`[$ ^  
h7[PU^m  
struts.velocity.manager.classname nX-%qc"  
      org.apache.struts2.views.velocity.VelocityManager implementation class BCw0kq@  
      org.apache.struts2.views.velocity.VelocityManager接口名 <'<{|$Pw  
y0cB@pWp  
struts.velocity.toolboxlocation av}pT)]\  
      The location of the Velocity toolbox ]y<<zQ_fhY  
      velocity工具盒的位置 zP#%ya :I  
struts.xslt.nocache 1}jwv_0lL  
      Whether or not XSLT templates should not be cached Hbi2amfBu  
      是否XSLT模版应该被缓存 #AUa'qB t  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八