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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 %y[h5*y*  
E\EsWb  
struts.action.extension glxsa8  
      The URL extension to use to determine if the request is meant for a Struts action ~2N"#b&J  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 _pG-qK  
j#x6  
struts.configuration RFcv^Xf  
      The org.apache.struts2.config.Configuration implementation class fk>aqm7D!  
        org.apache.struts2.config.Configuration接口名 cn3\kT*  
On.{!:"I/  
struts.configuration.files rJT a  
      A list of configuration files automatically loaded by Struts q5+4S5R*^  
      struts自动加载的一个配置文件列表 [Ek7b *  
o5GcpbZ3k  
struts.configuration.xml.reload ZzpUUH/r  
      Whether to reload the XML configuration or not LEf^cM=>  
      是否加载xml配置(true,false)  vF+7V*<  
n\D&!y[]F  
struts.continuations.package vX"*4m>b?+  
      The package containing actions that use Rife continuations uym*a4J  
      含有actions的完整连续的package名称 "| g>'wM*  
xn(kKB.  
struts.custom.i18n.resources At>DjKx]O  
      Location of additional localization properties files to load vWv"  
      加载附加的国际化属性文件(不包含.properties后缀) rfJz8uF%  
$6 9&O  
struts.custom.properties  . iI  
      Location of additional configuration properties files to load XFpjYwn  
      加载附加的配置文件的位置  KC6.Fr{  
[kB7@o  
 `25yE/  
struts.devMode M h}m;NI  
      Whether Struts is in development mode or not gO-  _  
      是否为struts开发模式 pa3{8x{9m  
OLGE!&!>  
struts.dispatcher.parametersWorkaround 7U"g3 a)=  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic itP,\k7>d  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) *#|&JIEsi  
_8J.fT$${  
struts.enable.DynamicMethodInvocation p38-l'{#  
      Allows one to disable dynamic method invocation from the URL JR21>;l#2  
        允许动态方法调用 HM1Fz\Sf  
q~o<*W   
struts.freemarker.manager.classname :\c ^*K(9  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class m? }6)\ob  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 a#k6&3m&  
P|E| $)m  
struts.i18n.encoding  8q!]y6  
      The encoding to use for localization messages 1(R}tRR7R  
      国际化信息内码 tSUEZ62EY  
5Ln,{vsv  
struts.i18n.reload G~[x 3L'  
      Whether the localization messages should automatically be reloaded 1n8/r}q'H  
      是否国际化信息自动加载 H$t_Xw==  
?e4YGOe.  
struts.locale -@2iaQ(5a2  
      The default locale for the Struts application @b%=H/5\  
      默认的国际化地区信息 k]|~>9eY]  
_J#zY- j  
struts.mapper.class lfgq=8d  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class |syR6(U}  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 .`H5cuF`  
lrE5^;/s1  
struts.multipart.maxSize 8/#A!Ww]  
      The maximize size of a multipart request (file upload) Pmx -8w  
      multipart请求信息的最大尺寸(文件上传用) )2o?#8J  
h7oo7AP  
struts.multipart.parser JPHL#sKyz  
      The org.apache.struts2.dispatcher.multipart. t!l&iVWs  
      MultiPartRequest parser implementation for a multipart request (file upload) ^[`%&uj!g  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) SKN`2hD  
/36:ms A  
G~a ZJ,  
struts.multipart.saveDir Dx?,=~W9  
      The directory to use for storing uploaded files JXQO~zj  
      设置存储上传文件的目录夹 RbnVL$c  
i&fuSk EP  
struts.objectFactory &6!)jIWJ  
      The com.opensymphony.xwork2.ObjectFactory implementation class  8dA~\a  
      com.opensymphony.xwork2.ObjectFactory接口(spring) vI >w e  
 K5h  
struts.objectFactory.spring.autoWire t =iIY`Md%  
      Whether Spring should autoWire or not H%td hu\e  
      是否自动绑定Spring (%6P0*  
>]TWXmx/w  
struts.objectFactory.spring.useClassCache 9.-S(ZO  
      Whether Spring should use its class cache or not C{rcs'  
      是否spring应该使用自身的cache hi( ;;C9  
2F.;;Ab  
struts.objectTypeDeterminer ADzhNf S  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 'IQ0{&EI  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ]%H`_8<gc  
q54]1TQ  
struts.serve.static.browserCache tDcT%D {:  
If static content served by the Struts filter should set browser caching header properties or not "(O>=F&  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 #trK^(  
\}b%E'+_T  
struts.serve.static bAqA1y3=  
      Whether the Struts filter should serve static content or not iYoMO["X  
      是否struts过滤器应该提供静态内容 Zu[su>\  
6nvz8f3*r]  
struts.tag.altSyntax Yj49t_$b  
      Whether to use the alterative syntax for the tags or not qyTU8Wp  
      是否可以用替代的语法替代tags 03Ycf'W  
$6 f3F?y7  
struts.ui.templateDir ^ZcGY+/~  
      The directory containing UI templates {!L~@r  
      UI templates的目录夹 /([kh~a  
Lqa4Vi  
struts.ui.theme #;yZ  
      The default UI template theme =; Ff4aF  
      默认的UI template主题 N4!O.POP  
x 9fip-  
struts.url.http.port P= NDS2  
      The HTTP port used by Struts URLs -Q*gW2KmV  
      设置http端口 5t]H?b8  
a1lh-2x X  
struts.url.https.port q0vQ a  
      The HTTPS port used by Struts URLs kDxFloK  
      设置https端口 u6JM]kR  
*GPiOA a  
struts.url.includeParams Vc Z3 X4/  
      The default includeParams method to generate Struts URLs Y$_B1_  
      在url中产生 默认的includeParams wc4=VC"y  
0GeTS Fj  
usF.bkTp  
struts.velocity.configfile 8l`*]1.W<  
      The Velocity configuration file path #*Ctwl,T  
      velocity配置文件路径 4!?eRY  
wmLs/:~  
struts.velocity.contexts VI86KJu  
      List of Velocity context names ^ Ze=uP  
      velocity的context列表 q/,O\,  
Q;rX;p^W  
"chDg(jMZ  
struts.velocity.manager.classname e9 B064  
      org.apache.struts2.views.velocity.VelocityManager implementation class ^1.By^ $  
      org.apache.struts2.views.velocity.VelocityManager接口名 26h21Z16q  
t{{QE:/  
struts.velocity.toolboxlocation 5$k:t  
      The location of the Velocity toolbox [4f{w%~^  
      velocity工具盒的位置 j\M?~=*w  
struts.xslt.nocache @o`AmC . 8  
      Whether or not XSLT templates should not be cached L!xi  
      是否XSLT模版应该被缓存 Gd85kY@w7  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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