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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 !!b5vzyve  
=E8lpN'  
struts.action.extension q[nX<tO  
      The URL extension to use to determine if the request is meant for a Struts action A{Z=[]r1`E  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 / ,f*IdB  
~C{d2i  
struts.configuration ~#&bDot  
      The org.apache.struts2.config.Configuration implementation class +g<2t,  
        org.apache.struts2.config.Configuration接口名 cn XIE{9M  
Fa,a)JY>  
struts.configuration.files v-3In\T=^  
      A list of configuration files automatically loaded by Struts jmmm0,#D  
      struts自动加载的一个配置文件列表 bg*4Z?[dd  
!uii|"  
struts.configuration.xml.reload YW}q@AY7  
      Whether to reload the XML configuration or not (!&cfabL  
      是否加载xml配置(true,false) _y#t[|}w  
p-GlGEt_X  
struts.continuations.package =da_zy  
      The package containing actions that use Rife continuations >;dMumX  
      含有actions的完整连续的package名称 @mW: FVI  
aIpDf|~  
struts.custom.i18n.resources D:e9609  
      Location of additional localization properties files to load t;T MD\BU  
      加载附加的国际化属性文件(不包含.properties后缀) zy~vw6vu  
^1BQejD  
struts.custom.properties u{,e8. Z  
      Location of additional configuration properties files to load AdesR-e$R  
      加载附加的配置文件的位置 EkgS*q_  
<- Q=h?D  
FylL7n  
struts.devMode ( YF`#v6  
      Whether Struts is in development mode or not 'xm_oGWE  
      是否为struts开发模式 SG2s!Ht  
~EG`[cv  
struts.dispatcher.parametersWorkaround {O*WLZ{0  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic "GEJ9_a[  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) h!?7I=p~#  
N0oBtGb  
struts.enable.DynamicMethodInvocation t>.mB@se|  
      Allows one to disable dynamic method invocation from the URL  `@b+'L  
        允许动态方法调用 ykH?;Xu  
8C#R  
struts.freemarker.manager.classname jwgXq(  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class yjaX\Wb[z[  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 4P( Y34j  
r`pg`ChHv  
struts.i18n.encoding %<CahzYc6  
      The encoding to use for localization messages Wp`wIe6  
      国际化信息内码 _(&^M[O  
QU_O9 BN  
struts.i18n.reload WLd{+y5#  
      Whether the localization messages should automatically be reloaded Fd":\7p  
      是否国际化信息自动加载 R"EX$Zj^E  
$-[V)]h  
struts.locale xAw$bJj~s  
      The default locale for the Struts application I$9^i#O'3  
      默认的国际化地区信息 Jp=eh   
ME7jF9d  
struts.mapper.class bYGK}:T8U  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class rn#FmM  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 :3M2zV cf  
9}Ud'#E  
struts.multipart.maxSize uV!Ax *'  
      The maximize size of a multipart request (file upload) L}*:,&Y/  
      multipart请求信息的最大尺寸(文件上传用) 5:6as^i:b  
` =g9Rg/<  
struts.multipart.parser obKWnet  
      The org.apache.struts2.dispatcher.multipart. 9bR lSb@  
      MultiPartRequest parser implementation for a multipart request (file upload) U:ggZ`.  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 0f}zm8p7.  
NBuibL  
1{i)7 :Y  
struts.multipart.saveDir Kv^ez%I  
      The directory to use for storing uploaded files fNNkc[YTZI  
      设置存储上传文件的目录夹 ^I=c]D]);  
!qsk;Vk7Z  
struts.objectFactory s!esk%h{K  
      The com.opensymphony.xwork2.ObjectFactory implementation class !'o5X]s  
      com.opensymphony.xwork2.ObjectFactory接口(spring) XW w=3$  
'^)Ve:K-.  
struts.objectFactory.spring.autoWire w?)v#]<-  
      Whether Spring should autoWire or not 6ziiV _p  
      是否自动绑定Spring l2QO\O I9m  
]fvU}4!  
struts.objectFactory.spring.useClassCache 4nQk*:p(X  
      Whether Spring should use its class cache or not i_Dv+^&zV  
      是否spring应该使用自身的cache /. GHR  
FtXd6)_S  
struts.objectTypeDeterminer d0$dQg  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 23 j{bK  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 SQhk)S  
w DswK "T  
struts.serve.static.browserCache T+ey>[  
If static content served by the Struts filter should set browser caching header properties or not ,ef"S r  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 }'mVD^<+  
WJbdsPs  
struts.serve.static ?K%&N99c!  
      Whether the Struts filter should serve static content or not c Q:.V  
      是否struts过滤器应该提供静态内容 -\6nT'P  
]#=43  
struts.tag.altSyntax H=Rqr  
      Whether to use the alterative syntax for the tags or not xP%`QTl\  
      是否可以用替代的语法替代tags <3C~<  
/HbxY  
struts.ui.templateDir $zS0]@Dj  
      The directory containing UI templates hbRDM'  
      UI templates的目录夹 hfT HP  
~L$B]\/A5  
struts.ui.theme _i{$5JJ+K2  
      The default UI template theme S`HshYlE q  
      默认的UI template主题 m99j]w r~c  
P=PcO>  
struts.url.http.port wQbN5*82  
      The HTTP port used by Struts URLs 2 g5Ft  
      设置http端口 ^HYmi\`  
B7r={P!0  
struts.url.https.port u3)Oj7cX  
      The HTTPS port used by Struts URLs 4+%;eY.A  
      设置https端口 8}9|hT;  
#-$\f(+<  
struts.url.includeParams d\C x(Lb[  
      The default includeParams method to generate Struts URLs 3Z=OUhn9  
      在url中产生 默认的includeParams [SGt ~bRJ  
Ylbh_ d~BU  
1cPm $=B  
struts.velocity.configfile jY>|>]4X  
      The Velocity configuration file path ?&$??r^i  
      velocity配置文件路径 Ah:!  
8:^`rw4a0  
struts.velocity.contexts zy\p,  
      List of Velocity context names VeK^hz R^Z  
      velocity的context列表 GyI(1O AW  
6(Za}H  
*#+e_)d  
struts.velocity.manager.classname 3]xe7F'`  
      org.apache.struts2.views.velocity.VelocityManager implementation class 0I_A$Z,x  
      org.apache.struts2.views.velocity.VelocityManager接口名 'PPVM@)fU  
tdZ,sHY6  
struts.velocity.toolboxlocation /*3[9,  
      The location of the Velocity toolbox G{$(t\>8  
      velocity工具盒的位置 1,@-y#V_  
struts.xslt.nocache @8WG  
      Whether or not XSLT templates should not be cached i(DoAfYf/q  
      是否XSLT模版应该被缓存 /MFy%=0l  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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