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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 req=w;E:  
Vvm6T@b M8  
struts.action.extension b*nyt F  
      The URL extension to use to determine if the request is meant for a Struts action ;J2U5Y NO  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Gnl6>/L,  
J@"Pv~R  
struts.configuration }kT;UdIu;  
      The org.apache.struts2.config.Configuration implementation class %{yr#F=t#]  
        org.apache.struts2.config.Configuration接口名 EQyRP. dq  
u%V =Ze  
struts.configuration.files -]Z!_[MlDF  
      A list of configuration files automatically loaded by Struts KA`1IW;  
      struts自动加载的一个配置文件列表 dY~3 YD[  
ba% [!  
struts.configuration.xml.reload L:`|lc=^  
      Whether to reload the XML configuration or not U# -&%|b$  
      是否加载xml配置(true,false) 394u']M  
A~ '2ki5$g  
struts.continuations.package \C ZiU3  
      The package containing actions that use Rife continuations B+jT|Y'  
      含有actions的完整连续的package名称 .!U `,)I  
XU2 HWa  
struts.custom.i18n.resources =P'=P0G  
      Location of additional localization properties files to load !}"npUgE  
      加载附加的国际化属性文件(不包含.properties后缀) !__f  
Umv_{n`  
struts.custom.properties 3HO 4 h\mp  
      Location of additional configuration properties files to load S5" xb  
      加载附加的配置文件的位置 K^J;iu4  
RT9fp(6*  
56G5JSB=\  
struts.devMode J6hWcA6 g  
      Whether Struts is in development mode or not ]gI XG`  
      是否为struts开发模式 , ZD!Qb  
Sj+ gf~~  
struts.dispatcher.parametersWorkaround yZb@  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic RL~\/#  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) #Jy+:|jJ  
/_*:  
struts.enable.DynamicMethodInvocation |O+R%'z'<  
      Allows one to disable dynamic method invocation from the URL E5jK}1t4V  
        允许动态方法调用 /Or76kE  
%saTyF,  
struts.freemarker.manager.classname ? Q.Y  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class CLQ\Is^]  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 zO2<Igb  
%p/Qz|W  
struts.i18n.encoding nkS6A}i3o  
      The encoding to use for localization messages (^qcX;-  
      国际化信息内码 *7ap[YXZ\w  
l2 gI2Cioa  
struts.i18n.reload L^RyJ;^c  
      Whether the localization messages should automatically be reloaded `*KS` z?  
      是否国际化信息自动加载 IB}.J,=  
iFF/[P  
struts.locale ~SV;"e2N.  
      The default locale for the Struts application 6:v8J1G(<  
      默认的国际化地区信息 i/C#fIB2  
O~">-'f  
struts.mapper.class bTA<AoW9="  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class aMm`G}9n  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 2YuaPq/  
2EG"xA5%  
struts.multipart.maxSize ] X%bU*4  
      The maximize size of a multipart request (file upload) )09_CC!a  
      multipart请求信息的最大尺寸(文件上传用) /P^@dL  
q<oA%yR  
struts.multipart.parser g\rujxHlH  
      The org.apache.struts2.dispatcher.multipart. e Yyl=YW  
      MultiPartRequest parser implementation for a multipart request (file upload) zFP}=K:o)  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) TCmWn$LeE  
\M:,Vg  
rvw1'y  
struts.multipart.saveDir Gg5vf]VFo  
      The directory to use for storing uploaded files & Radpb2p6  
      设置存储上传文件的目录夹 FE M_7M  
js;IUSj.  
struts.objectFactory lDMYDy{<  
      The com.opensymphony.xwork2.ObjectFactory implementation class 8'^eH1d'  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ~+l%}4RZ  
oWs&W  
struts.objectFactory.spring.autoWire  vFl|  
      Whether Spring should autoWire or not /I[cj3}{+f  
      是否自动绑定Spring -d_FB?X  
j|lg&kN  
struts.objectFactory.spring.useClassCache eC[g"Ef  
      Whether Spring should use its class cache or not *$`r)pV%AK  
      是否spring应该使用自身的cache 168U-<  
qaw5<  
struts.objectTypeDeterminer G?3S_3J2  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class u:g(x+u4:  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Q{>9Dg  
p&vQ* }  
struts.serve.static.browserCache y,Dfqt  
If static content served by the Struts filter should set browser caching header properties or not /%)M lG  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 XKks j!'B  
V X211U.Q  
struts.serve.static -[ ^wYr=  
      Whether the Struts filter should serve static content or not (e F5?I  
      是否struts过滤器应该提供静态内容 dr'6N1B@  
?ZTB u[  
struts.tag.altSyntax 27u$VHwb  
      Whether to use the alterative syntax for the tags or not `f6Qd2\  
      是否可以用替代的语法替代tags dE ^(KBF  
S1$\D!|1  
struts.ui.templateDir vaTXu*   
      The directory containing UI templates M$! 0ikh  
      UI templates的目录夹 \+cQiN b@  
qn+mlduU  
struts.ui.theme 35&&*$Jm  
      The default UI template theme lFc3 5  
      默认的UI template主题 !Y\hF|[z  
/JveN8L%  
struts.url.http.port Y J1P5u:  
      The HTTP port used by Struts URLs f3v/Y5)  
      设置http端口 NA\,o;ka  
0n(Q@O  
struts.url.https.port &1w,;45  
      The HTTPS port used by Struts URLs 0&5}[9?V'  
      设置https端口 Or_9KX2  
foL`{fA  
struts.url.includeParams R^PQ`$W 'R  
      The default includeParams method to generate Struts URLs NiyAAw  
      在url中产生 默认的includeParams \7og&j-h  
(MxLw:AV  
vo0[Z,aH5  
struts.velocity.configfile "QiUuD=  
      The Velocity configuration file path gO$!_!@LM  
      velocity配置文件路径 hp>me*vzr  
a,}{f]  
struts.velocity.contexts `bH Eu"(,  
      List of Velocity context names 4<LRa=XT$  
      velocity的context列表 kkzXv`+  
}bB_[+YV`{  
#m8Oy|Y9`  
struts.velocity.manager.classname .(`u'G=  
      org.apache.struts2.views.velocity.VelocityManager implementation class +A:}5{  
      org.apache.struts2.views.velocity.VelocityManager接口名 ZnmBb_eX  
K0+J!- a]7  
struts.velocity.toolboxlocation kkd<CEz2IM  
      The location of the Velocity toolbox lzw r]J%|?  
      velocity工具盒的位置 9ykmz (  
struts.xslt.nocache ]+@b=J2b  
      Whether or not XSLT templates should not be cached +x4o#N  
      是否XSLT模版应该被缓存 $6Ty~.RP5H  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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