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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 TPO1 GF  
!rxp?V n -  
struts.action.extension ]6tkEyuq  
      The URL extension to use to determine if the request is meant for a Struts action &;H{cv`  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 g( 0;[#@  
&A!KJ.  
struts.configuration fm1X1T.  
      The org.apache.struts2.config.Configuration implementation class "C%!8`K{a*  
        org.apache.struts2.config.Configuration接口名 . ,NB( s`  
;i#LIHJ  
struts.configuration.files yeD_j/  
      A list of configuration files automatically loaded by Struts _J?SIm  
      struts自动加载的一个配置文件列表 71B3a  
yt.c5> B^  
struts.configuration.xml.reload |U[y_Y\a  
      Whether to reload the XML configuration or not Pn TZ/|  
      是否加载xml配置(true,false) 0rMqWP  
&J"YsY  
struts.continuations.package F N"rZWM  
      The package containing actions that use Rife continuations g jG2  
      含有actions的完整连续的package名称 UPCQs",  
L9IGK<  
struts.custom.i18n.resources m^!Sv?hV  
      Location of additional localization properties files to load 6i@ub%qq  
      加载附加的国际化属性文件(不包含.properties后缀) $CtCOwKZ  
>?XbU}  
struts.custom.properties F1|zXg)  
      Location of additional configuration properties files to load [J\DB)V/  
      加载附加的配置文件的位置 <4F7@q, V  
5S/>l_od$2  
{V2bU}5 [  
struts.devMode $fArk36O#  
      Whether Struts is in development mode or not ":WYcaSi  
      是否为struts开发模式 }X1.Wt=?  
xcSR{IZ  
struts.dispatcher.parametersWorkaround $>vy(Y  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic lC9S\s  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) gn5% F5W  
D?u`  
struts.enable.DynamicMethodInvocation j8 H Oc(  
      Allows one to disable dynamic method invocation from the URL 'XfgBJF=  
        允许动态方法调用 4UCwT1  
9={N4}<  
struts.freemarker.manager.classname OAok  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ?R?Grw)`H  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 &G{2s J5{  
1k>naf~O  
struts.i18n.encoding ]t/f<jKN^  
      The encoding to use for localization messages N~g%wf@w  
      国际化信息内码 iPU% /_>  
 R<&FhT]  
struts.i18n.reload )1_(>|@oi  
      Whether the localization messages should automatically be reloaded u(9X  
      是否国际化信息自动加载 GoeIjuELR  
LP>UU ,Z  
struts.locale Kfjryo9  
      The default locale for the Struts application %8Yyj{^!(  
      默认的国际化地区信息 6GOg_P  
;5M<j3_*  
struts.mapper.class A[9NP-~  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class b?k4InXh  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 i`~~+6`J  
:`zV [A:D  
struts.multipart.maxSize .YiaXP  
      The maximize size of a multipart request (file upload) " Z;uu)NE  
      multipart请求信息的最大尺寸(文件上传用) WD;)VsP  
*aG"+c6|  
struts.multipart.parser ~u2w`H?V  
      The org.apache.struts2.dispatcher.multipart. L1MrrC  
      MultiPartRequest parser implementation for a multipart request (file upload) H XP;0B%4  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) P!>g7X  
q2Rf@nt  
k#jm7 +  
struts.multipart.saveDir )d_U)b7i  
      The directory to use for storing uploaded files @Z=wE3T@  
      设置存储上传文件的目录夹 qL>v&Rd<  
"3ug}k  
struts.objectFactory qvN"1=nJ  
      The com.opensymphony.xwork2.ObjectFactory implementation class z `@z  
      com.opensymphony.xwork2.ObjectFactory接口(spring) tj#b_ u z  
!=knppY  
struts.objectFactory.spring.autoWire t[q3 {-  
      Whether Spring should autoWire or not Wbd_a R (  
      是否自动绑定Spring &[)D]UL  
7?"9J `*  
struts.objectFactory.spring.useClassCache }6@%((9E 2  
      Whether Spring should use its class cache or not Xr2 Wa  
      是否spring应该使用自身的cache (-'PD_|  
[U']kt  
struts.objectTypeDeterminer } Ab _o#Zy  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class |DGCdB|`G  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 EGEMZCdk2  
&&*wmnWCS{  
struts.serve.static.browserCache ZZwBOGVU  
If static content served by the Struts filter should set browser caching header properties or not K]MzP|T,  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 oo'iwq-\  
a^x  0 l  
struts.serve.static yW:AVqE)t  
      Whether the Struts filter should serve static content or not T#/11M$uQ  
      是否struts过滤器应该提供静态内容 R1~7F{FW  
^:U;rHY  
struts.tag.altSyntax s1v{~xP  
      Whether to use the alterative syntax for the tags or not @NBXyC8,Z  
      是否可以用替代的语法替代tags B!$V\Gs  
&E} I  
struts.ui.templateDir .dy#n`eP  
      The directory containing UI templates F0X5dv  
      UI templates的目录夹 nYmf(DV  
MHC.k=  
struts.ui.theme 7uWJ6Wk  
      The default UI template theme GG@iKL V  
      默认的UI template主题 ee4KMS  
7[(Lrx.pM  
struts.url.http.port \65vfE~ O  
      The HTTP port used by Struts URLs <>ZBW9  
      设置http端口 V.O<|tl.  
oHv{Y  
struts.url.https.port 3'|Uqf8  
      The HTTPS port used by Struts URLs yBU ZVqqDa  
      设置https端口 ]b5%?^Z#  
L{+&z7M  
struts.url.includeParams {o Q(<&Aw  
      The default includeParams method to generate Struts URLs )*q7pO\cty  
      在url中产生 默认的includeParams 3sd{AkD^  
Z1XUYe62  
Vu_7uSp,)  
struts.velocity.configfile &"@HWF  
      The Velocity configuration file path E#IiyZ  
      velocity配置文件路径 xMO[3 D&D  
#`fi2K&]j  
struts.velocity.contexts T%;k%  
      List of Velocity context names __oY:d(~  
      velocity的context列表 [XA&&EcU  
GqmDDL1  
OX#eLco  
struts.velocity.manager.classname ^=4I|+P,6.  
      org.apache.struts2.views.velocity.VelocityManager implementation class UBUB/N Y  
      org.apache.struts2.views.velocity.VelocityManager接口名 b<29wL1  
:8\*)"^E  
struts.velocity.toolboxlocation LLXg  
      The location of the Velocity toolbox DjevX7Q  
      velocity工具盒的位置 |IyM"UH  
struts.xslt.nocache : 9djMsd  
      Whether or not XSLT templates should not be cached XZUB*P}]D  
      是否XSLT模版应该被缓存 y{&{=1#  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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