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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 P^d . ,  
hPCSLJ  
struts.action.extension #,|_d>p:  
      The URL extension to use to determine if the request is meant for a Struts action O(WMTa'%  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 =kZwB*7  
30T:* I|  
struts.configuration E]e[Ty1  
      The org.apache.struts2.config.Configuration implementation class 'yAoZ P\|  
        org.apache.struts2.config.Configuration接口名 i}&mz~  
P.2.Ge|  
struts.configuration.files B39PDJ]hu  
      A list of configuration files automatically loaded by Struts {)dEO0 p  
      struts自动加载的一个配置文件列表 4UX]S\X  
 p% YvP  
struts.configuration.xml.reload +~v3D^L15  
      Whether to reload the XML configuration or not .L 5T4)  
      是否加载xml配置(true,false) D} <o<Dk  
crOtQ  
struts.continuations.package 8Jly! =Qm5  
      The package containing actions that use Rife continuations +cplM5X  
      含有actions的完整连续的package名称 L"zgBB?K6  
e]y=]}A3{  
struts.custom.i18n.resources 4mg 7f^[+  
      Location of additional localization properties files to load 36Fa9P FCc  
      加载附加的国际化属性文件(不包含.properties后缀) T_|fb)G+{  
Dg2#Gv0B  
struts.custom.properties [3 ;Y:&D  
      Location of additional configuration properties files to load C&#KdvN/r  
      加载附加的配置文件的位置 ]oZ,{Q5~  
CSg5i&A=  
m{=~| I  
struts.devMode :!it7vZ  
      Whether Struts is in development mode or not "8Wc\YDh  
      是否为struts开发模式 RSVN(-wIi)  
1)kl  
struts.dispatcher.parametersWorkaround $hY]EB  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic T>:g ME  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) sp]y!zb"5  
%X-&yGY  
struts.enable.DynamicMethodInvocation SoON@h/  
      Allows one to disable dynamic method invocation from the URL /3:IE%o  
        允许动态方法调用 YdL1(|EdM  
,EJ [I^  
struts.freemarker.manager.classname Y_iF$ m/R  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class e+[J[<8  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 A.cZa  
z_iyuLRdb  
struts.i18n.encoding /iJhCB[QZ  
      The encoding to use for localization messages ?ia[KLt"  
      国际化信息内码 m_O=X8uj"D  
'MM~ ~:  
struts.i18n.reload q,h.W JI  
      Whether the localization messages should automatically be reloaded IfI$  
      是否国际化信息自动加载 5'L}LT8p@  
[Kj#KJxy  
struts.locale 0$dNrq  
      The default locale for the Struts application |Btx&'m  
      默认的国际化地区信息 dCJR,},\f  
O%h 97^%k  
struts.mapper.class dZ81\jdYv  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class yA)+-  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ^ cd5Zl  
x?& xz;  
struts.multipart.maxSize */h 9"B  
      The maximize size of a multipart request (file upload) Ku,A}5-6  
      multipart请求信息的最大尺寸(文件上传用) Tqh Rs  
nf@u7*# 6  
struts.multipart.parser H" g&  
      The org.apache.struts2.dispatcher.multipart. +o70: UF%  
      MultiPartRequest parser implementation for a multipart request (file upload) !suiqP1\*  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ^RDXX+  
 G6ES]  
wI]>0geb*  
struts.multipart.saveDir @V CQ4X7T  
      The directory to use for storing uploaded files F[giq 1#  
      设置存储上传文件的目录夹 :1  
s~ZC!-[;  
struts.objectFactory dM$G)9N)K  
      The com.opensymphony.xwork2.ObjectFactory implementation class iSW73P;)  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Uwil*Jh  
6_ 0w>  
struts.objectFactory.spring.autoWire ^\9G{}VY  
      Whether Spring should autoWire or not cr;`0  
      是否自动绑定Spring ?{Z0g+B1  
$7 Uk;xV  
struts.objectFactory.spring.useClassCache 3@bjIX`=H  
      Whether Spring should use its class cache or not Xr;noV-X  
      是否spring应该使用自身的cache O lIH0  
c&W.slE6  
struts.objectTypeDeterminer eBKIdR%k  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class dNt|"9~&  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 !`U<RlK7  
4}FfHgpQ  
struts.serve.static.browserCache b:&$x (|  
If static content served by the Struts filter should set browser caching header properties or not .T X& X  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 #al^Uqd  
!/Ps}.)A`  
struts.serve.static *\vc_NP]  
      Whether the Struts filter should serve static content or not G{Q'N04RA  
      是否struts过滤器应该提供静态内容 LP_F"?4  
><7`$2Or  
struts.tag.altSyntax D/`E!6Fk=  
      Whether to use the alterative syntax for the tags or not .ai9PsZ?V  
      是否可以用替代的语法替代tags c'qM$KN9G  
)5OU!c  
struts.ui.templateDir <\mc|p"  
      The directory containing UI templates dG$0d_Pq  
      UI templates的目录夹 Qq`\C0RZ  
;^i,Q} b/  
struts.ui.theme FI5C&d5d  
      The default UI template theme ![tI(TPq  
      默认的UI template主题 { "c,P:S]  
"c*|vE  
struts.url.http.port h)`vc#"65k  
      The HTTP port used by Struts URLs Bb `^,?m  
      设置http端口 1w^[Eno$$  
k~dr;j  
struts.url.https.port [{*#cr f  
      The HTTPS port used by Struts URLs vsR ^aVwVZ  
      设置https端口 ~MO C r  
&O)mPnx`  
struts.url.includeParams Qd?P[xm  
      The default includeParams method to generate Struts URLs M(jH"u&f  
      在url中产生 默认的includeParams ^*Fkt(ida  
RGLqn{<V  
`yXy T^  
struts.velocity.configfile d:''qgz`  
      The Velocity configuration file path e8 .bH#  
      velocity配置文件路径 q4N$.hpb  
7 '/&mX>  
struts.velocity.contexts Hyg?as>}u  
      List of Velocity context names 1gJ!!SHPo  
      velocity的context列表 < i|+p1t  
9=f'sqIPV  
Nj\WvKG  
struts.velocity.manager.classname =x}/q4}L  
      org.apache.struts2.views.velocity.VelocityManager implementation class ZP<X#]$qb  
      org.apache.struts2.views.velocity.VelocityManager接口名 CcTJCuOS  
4+gA/<  
struts.velocity.toolboxlocation Wg1WY}zG  
      The location of the Velocity toolbox ^B9wmxe  
      velocity工具盒的位置 3!L)7Z/  
struts.xslt.nocache wP9C\W;  
      Whether or not XSLT templates should not be cached '=@x2`U/  
      是否XSLT模版应该被缓存 NU[{oI<a  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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