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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 e7r -R3_  
!/*\}\'4  
struts.action.extension swoQ'  
      The URL extension to use to determine if the request is meant for a Struts action [0[i5'K:  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 =:,g  
| y# Jx  
struts.configuration S8w _ii3zd  
      The org.apache.struts2.config.Configuration implementation class v ~?qz5:K~  
        org.apache.struts2.config.Configuration接口名 o&zJ=k[4  
cAqLE\h  
struts.configuration.files fZzoAzfv2  
      A list of configuration files automatically loaded by Struts KKPh~ThC  
      struts自动加载的一个配置文件列表  E`0?  
C8:f_mJU  
struts.configuration.xml.reload r1m]HFN  
      Whether to reload the XML configuration or not ]z;I _-  
      是否加载xml配置(true,false) qQ/^@3tXL  
#7 $ H  
struts.continuations.package )VS=E7[  
      The package containing actions that use Rife continuations /P3 <"?#k  
      含有actions的完整连续的package名称 R)( T^V`{  
:WS@=sZN  
struts.custom.i18n.resources B =T'5&  
      Location of additional localization properties files to load >`mVY=H i  
      加载附加的国际化属性文件(不包含.properties后缀) L>&t|T2  
gHEu/8E  
struts.custom.properties x0D*U?A  
      Location of additional configuration properties files to load sPQQ"|wU  
      加载附加的配置文件的位置 [{,T.;'<j  
Apag{Z]^B  
L>NL:68yN  
struts.devMode 9r<J"%*Q  
      Whether Struts is in development mode or not "]x'PI 4J  
      是否为struts开发模式 5iw<>9X*  
fLD, 5SN  
struts.dispatcher.parametersWorkaround ~i{(<.he  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic e/&{v8Hmb  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ]BZA:dd.G  
f=Gg9bnm3  
struts.enable.DynamicMethodInvocation =tn)}Y.<e  
      Allows one to disable dynamic method invocation from the URL 6qpJUkd  
        允许动态方法调用 J26 VnK  
1..+F0U  
struts.freemarker.manager.classname 9Cp-qA%t  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class )5JFfp)#  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 |?xN\O^#}  
t%FwXaO#  
struts.i18n.encoding G]tn i  
      The encoding to use for localization messages SrJGTuXg  
      国际化信息内码 ^Za-`8#`L  
o#gWbAG;]b  
struts.i18n.reload |\t-g" ~sN  
      Whether the localization messages should automatically be reloaded 7~ p@0)''  
      是否国际化信息自动加载 b<ZIWfs  
9(7-{,c  
struts.locale uEP*iPLD@  
      The default locale for the Struts application aEWWP]  
      默认的国际化地区信息 ^j7Vt2-  
t+ G#{n  
struts.mapper.class A#<?4&  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class V>LwqS~`  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 .},'~NM]  
7`Ak) F:V  
struts.multipart.maxSize h0f;F@I  
      The maximize size of a multipart request (file upload) \fd v]f  
      multipart请求信息的最大尺寸(文件上传用) EwT"uL*V;  
D|p9qe5%  
struts.multipart.parser fu ,}1Mq#  
      The org.apache.struts2.dispatcher.multipart. , WYPU  
      MultiPartRequest parser implementation for a multipart request (file upload) $G+@_'  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) EjR9JUu  
(D&3G;0tK  
0<@KG8@hI;  
struts.multipart.saveDir )[IC?U:5I  
      The directory to use for storing uploaded files <w9JRpFY  
      设置存储上传文件的目录夹 ] vsz, 0  
&64h ;P<  
struts.objectFactory 7"x;~X  
      The com.opensymphony.xwork2.ObjectFactory implementation class S Lj!v&'  
      com.opensymphony.xwork2.ObjectFactory接口(spring) iB yf{I>+  
pRpBhm;iJ  
struts.objectFactory.spring.autoWire m,w A:o$'  
      Whether Spring should autoWire or not hEH?[>9  
      是否自动绑定Spring iC~^)-~H=w  
MrFQ5:=  
struts.objectFactory.spring.useClassCache Y =I'czg  
      Whether Spring should use its class cache or not  A,<E\  
      是否spring应该使用自身的cache iy!=6  
mdDOvm:&  
struts.objectTypeDeterminer Sy_G,+$\  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class  'KL0@l  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 v$v-2y'%  
-f^tE,-  
struts.serve.static.browserCache P4'Q/Sj  
If static content served by the Struts filter should set browser caching header properties or not I6av6t}  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 p)-^;=<B3  
/Iokf@5  
struts.serve.static o#Dk& cH  
      Whether the Struts filter should serve static content or not ()?(I?II  
      是否struts过滤器应该提供静态内容 n;_sG>N  
v{N`.~,^  
struts.tag.altSyntax pE0Sw}A:9  
      Whether to use the alterative syntax for the tags or not 2MIi=c:oqK  
      是否可以用替代的语法替代tags ^ VyKd  
M FMs[+2_o  
struts.ui.templateDir BwpqNQN  
      The directory containing UI templates &wawr2)}  
      UI templates的目录夹 Q"d^_z ]K  
&PHTpkaam  
struts.ui.theme Bm<`n;m  
      The default UI template theme ltSU fI  
      默认的UI template主题 k]|~>9eY]  
$8h%a 8I  
struts.url.http.port lfgq=8d  
      The HTTP port used by Struts URLs /Cr%{'Pzk  
      设置http端口 xLajso1g69  
o:'MpKm  
struts.url.https.port GL}]y -f  
      The HTTPS port used by Struts URLs ec;o\erPG  
      设置https端口 I$G['` XX/  
{dlXLx!B  
struts.url.includeParams ^uc=f2=>,  
      The default includeParams method to generate Struts URLs z&\a:fJ&  
      在url中产生 默认的includeParams iWkWR"ys y  
| YWD8 +  
C.-,^+t;g  
struts.velocity.configfile [|$h*YK  
      The Velocity configuration file path VCkq"f7c w  
      velocity配置文件路径 n( yn<  
RbnVL$c  
struts.velocity.contexts N>`Aw^ _@&  
      List of Velocity context names +Kc  
      velocity的context列表 &r /Mi%  
nR~@#P\  
T?0eVvM  
struts.velocity.manager.classname BDDlQci38  
      org.apache.struts2.views.velocity.VelocityManager implementation class O0v}43J [  
      org.apache.struts2.views.velocity.VelocityManager接口名 PFjL1=7I  
b8t7u  
struts.velocity.toolboxlocation qe#tj/aZ  
      The location of the Velocity toolbox RtS+<^2a;  
      velocity工具盒的位置 ? OM!+O  
struts.xslt.nocache 1CZgb   
      Whether or not XSLT templates should not be cached <'oQ \eB  
      是否XSLT模版应该被缓存 6d}lw6L  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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