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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 T/GgF&i3  
'9-axIj70  
struts.action.extension :dY.D|j*  
      The URL extension to use to determine if the request is meant for a Struts action f@! fW&  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 i'W_;Y}  
_K0izKTA.  
struts.configuration HPtTv}l  
      The org.apache.struts2.config.Configuration implementation class V8sH{R-  
        org.apache.struts2.config.Configuration接口名 GUu\dl9WA'  
~?AC:  
struts.configuration.files R3B5-^s  
      A list of configuration files automatically loaded by Struts `26V`%bPkr  
      struts自动加载的一个配置文件列表 0'yG1qG  
- E8ntY-  
struts.configuration.xml.reload 5\akI\  
      Whether to reload the XML configuration or not &RK H2R  
      是否加载xml配置(true,false) }osHA`x"2  
?W[J[cb  
struts.continuations.package Qp kKVLi  
      The package containing actions that use Rife continuations &'5@azU  
      含有actions的完整连续的package名称 t} *l?$`  
q_<*esZ,  
struts.custom.i18n.resources yu`KzIU  
      Location of additional localization properties files to load gp~yt0AU  
      加载附加的国际化属性文件(不包含.properties后缀) v8=?HUDd  
~\IF9!  
struts.custom.properties $ \Q<K@{  
      Location of additional configuration properties files to load / h}PEu3y  
      加载附加的配置文件的位置 .cg=  
r5MxjuOB1  
3>-[B`dD(  
struts.devMode y|q@;*rGNa  
      Whether Struts is in development mode or not Rk($lW)  
      是否为struts开发模式 zmrQf/y{R  
O.@g/05C  
struts.dispatcher.parametersWorkaround ,wtFs!8  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic M82.khm~jM  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 8hTR*e! +  
<|{L[  
struts.enable.DynamicMethodInvocation = n+q_.A  
      Allows one to disable dynamic method invocation from the URL %`xV'2H  
        允许动态方法调用 >_;kTy,  
6 gj]y^}  
struts.freemarker.manager.classname + ,@ FxZl  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class H$z>OS_6U  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 BFBR/d[&  
j0g5<M  
struts.i18n.encoding Nk96"P$P  
      The encoding to use for localization messages $|4cJ#;^L  
      国际化信息内码 T;i?w  
|-~b$nUe  
struts.i18n.reload k2EHco0BG  
      Whether the localization messages should automatically be reloaded K :1g"  
      是否国际化信息自动加载 9#v-2QY  
F>(qOH.I  
struts.locale \hs/D+MCk  
      The default locale for the Struts application YV5Yx-+3w$  
      默认的国际化地区信息 oR*ztM  
$ q%mu  
struts.mapper.class ^oS$>6|  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class uQH%.A  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 x&at^Fp  
Y\.-v\uJu  
struts.multipart.maxSize r?fH &u  
      The maximize size of a multipart request (file upload) FoE|Js  
      multipart请求信息的最大尺寸(文件上传用) xDR9_  
:]vA 2  
struts.multipart.parser iV5}U2Vh  
      The org.apache.struts2.dispatcher.multipart. sW }<zGYd  
      MultiPartRequest parser implementation for a multipart request (file upload) IikG /8lP  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) h,^BC^VU9-  
u3U4UK  
?n)Xw)]  
struts.multipart.saveDir Z:K+I+:t  
      The directory to use for storing uploaded files }1 $hxfb  
      设置存储上传文件的目录夹 + c`AE  
AT"!{Y "H  
struts.objectFactory Vwjk[ DOL  
      The com.opensymphony.xwork2.ObjectFactory implementation class ov8 ByJc  
      com.opensymphony.xwork2.ObjectFactory接口(spring) {}V$`L8  
7; p4Wg7k}  
struts.objectFactory.spring.autoWire `YPe^!` $  
      Whether Spring should autoWire or not Ve)ClH/DW  
      是否自动绑定Spring YPu9Q  
TI}}1ScA'  
struts.objectFactory.spring.useClassCache {S G*  
      Whether Spring should use its class cache or not Sa L"!uAk  
      是否spring应该使用自身的cache +}P%HH]E/p  
$0_^=D EW  
struts.objectTypeDeterminer &,J*_F<s2<  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class M|d={o9Hp  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 djW cbC=g_  
hw;0t,1  
struts.serve.static.browserCache 3filAGR?  
If static content served by the Struts filter should set browser caching header properties or not aS el* L  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 aYqm0HCT  
:pRF*^eU  
struts.serve.static +#4]o }6G  
      Whether the Struts filter should serve static content or not tv0Ha A  
      是否struts过滤器应该提供静态内容 2gt+l?O<PS  
^EF'TO$  
struts.tag.altSyntax 9z:K1  
      Whether to use the alterative syntax for the tags or not :Zza)>l  
      是否可以用替代的语法替代tags kB o;h.[l  
-LTKpN`[@  
struts.ui.templateDir ]nQ+nH  
      The directory containing UI templates I"-dTa  
      UI templates的目录夹 o+NMA (  
mb&lCd ^-  
struts.ui.theme y,Jh@n';|  
      The default UI template theme k0L] R5W  
      默认的UI template主题 %Uy%kN_&  
Av o|v>  
struts.url.http.port M i]I:ka  
      The HTTP port used by Struts URLs (?vK_{  
      设置http端口 b(l0js  
C6|(ktt  
struts.url.https.port >L gVj$Z  
      The HTTPS port used by Struts URLs xRlYr# %  
      设置https端口 /Y,r@D  
F|Q H  
struts.url.includeParams zN%97q_  
      The default includeParams method to generate Struts URLs yG\UW&P  
      在url中产生 默认的includeParams &f-hG3/M  
ND5$bq Nu?  
\@K~L4>  
struts.velocity.configfile gw^'{b  
      The Velocity configuration file path V>Fesm"aq  
      velocity配置文件路径 WWNu:,  
P>(P2~$Y"  
struts.velocity.contexts *:g_'K"+  
      List of Velocity context names gyev5txn  
      velocity的context列表 Z, T#,  
rFey4zzz  
pLnB)z?  
struts.velocity.manager.classname h./P\eDc  
      org.apache.struts2.views.velocity.VelocityManager implementation class v8m`jxII64  
      org.apache.struts2.views.velocity.VelocityManager接口名 ?sXG17~Bm  
=\Iu$2r`  
struts.velocity.toolboxlocation z<B CLP  
      The location of the Velocity toolbox ='}#`',  
      velocity工具盒的位置 RP! X8~8  
struts.xslt.nocache yzR=A%V8A  
      Whether or not XSLT templates should not be cached id?"PD"%  
      是否XSLT模版应该被缓存 *)'Vvu<  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
10+5=?,请输入中文答案:十五