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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 nB; yS<  
-<Wv7FNpD  
struts.action.extension _(qU%B  
      The URL extension to use to determine if the request is meant for a Struts action !| G 8b'  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 &jg..R  
=i`#0i2(  
struts.configuration 'b?Px}  
      The org.apache.struts2.config.Configuration implementation class j>OuNeo@4  
        org.apache.struts2.config.Configuration接口名 i`FskEoijq  
wM]j#  
struts.configuration.files 0R#T3K}  
      A list of configuration files automatically loaded by Struts ,?'":T1[  
      struts自动加载的一个配置文件列表 4axc05  
ceW,A`J  
struts.configuration.xml.reload U_X/  
      Whether to reload the XML configuration or not 5Tl3k=o}  
      是否加载xml配置(true,false) 2feiD?0  
3M?vK(zG>P  
struts.continuations.package u_;&+o2  
      The package containing actions that use Rife continuations <~rf;2LZ  
      含有actions的完整连续的package名称 /2<1/[#  
y;.U-}e1  
struts.custom.i18n.resources .4t-5,7s%  
      Location of additional localization properties files to load ?qdZ]M4e  
      加载附加的国际化属性文件(不包含.properties后缀) #o(c=  
;Q1/53Y<  
struts.custom.properties w9Eb\An  
      Location of additional configuration properties files to load -naj.omG|  
      加载附加的配置文件的位置 ls^| j%$J  
K&\3j-8^  
=b{!p|  
struts.devMode i*T>, z  
      Whether Struts is in development mode or not K}r@O"6*\  
      是否为struts开发模式 /]_a\x5Ss  
0~)_/yx?S  
struts.dispatcher.parametersWorkaround XOdkfmc+s'  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic v>4kF _N  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) =:4vRq [  
jkN-(v(T  
struts.enable.DynamicMethodInvocation $bGe1\  
      Allows one to disable dynamic method invocation from the URL kVH^(Pi  
        允许动态方法调用 KMhEU**  
b8>2Y'X  
struts.freemarker.manager.classname na%DF@Rt#  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class !6yyX}%o  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 8,5H^Bi  
~ sC<V  
struts.i18n.encoding qv+8wJ((  
      The encoding to use for localization messages Q#,j,h  
      国际化信息内码 M)<4|x  
 Uu<Tn#nb  
struts.i18n.reload "EE=j$8u+  
      Whether the localization messages should automatically be reloaded Q9[$ 8  
      是否国际化信息自动加载 bnm3 cR:h"  
lrE|>R  
struts.locale _YT9zG  
      The default locale for the Struts application ;&A%"8o  
      默认的国际化地区信息 kOQq+_Y  
~&UfnO  
struts.mapper.class tW=,o&C=  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class `;:zZ8*  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 B?-~f^*,jG  
a2z1/Nh  
struts.multipart.maxSize cP]5Qz   
      The maximize size of a multipart request (file upload) SU {U+  
      multipart请求信息的最大尺寸(文件上传用) t$*V*gK{  
hPM:=@ N$  
struts.multipart.parser ff1Em.  
      The org.apache.struts2.dispatcher.multipart. T VuDK  
      MultiPartRequest parser implementation for a multipart request (file upload) "%,KZI  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) DaK2P;WP  
PCx] >&  
|, Lp1  
struts.multipart.saveDir cc$L56q  
      The directory to use for storing uploaded files W,g0n=2V  
      设置存储上传文件的目录夹 HZG<aY="  
*1>zE>nlP  
struts.objectFactory Bl >)GX\l  
      The com.opensymphony.xwork2.ObjectFactory implementation class s--\<v  
      com.opensymphony.xwork2.ObjectFactory接口(spring) =s\RK   
:J'ibb1  
struts.objectFactory.spring.autoWire ,)CRozC\}K  
      Whether Spring should autoWire or not 5W(S~}  
      是否自动绑定Spring ToNRY<!  
h|DKD.  
struts.objectFactory.spring.useClassCache (I) e-1  
      Whether Spring should use its class cache or not PN +<C7/  
      是否spring应该使用自身的cache fV\ eksBF  
?11\@d  
struts.objectTypeDeterminer gOE3x^X*{  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class CQ(;L{}  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 xIrRFK9[Q  
8%Wg;:DZx  
struts.serve.static.browserCache <]/z45?  
If static content served by the Struts filter should set browser caching header properties or not 3 E~d  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 3XOf-v:~  
L'*P;z7<  
struts.serve.static l$:.bwXXO  
      Whether the Struts filter should serve static content or not h /.^iT  
      是否struts过滤器应该提供静态内容 5z$>M3  
%U4w@jp  
struts.tag.altSyntax rLy <3  
      Whether to use the alterative syntax for the tags or not 7n_'2qY  
      是否可以用替代的语法替代tags ZgXn8O[a  
T9N&Nh7 3  
struts.ui.templateDir Ao%;!(\I%  
      The directory containing UI templates `2j \(N,  
      UI templates的目录夹 RyxEZ7dC<y  
~MgU"P>  
struts.ui.theme e/h2E dY  
      The default UI template theme H/eyc`  
      默认的UI template主题 bay7%[BLB  
1e0O-aT#Q  
struts.url.http.port !.(%"  
      The HTTP port used by Struts URLs +&T;jad2  
      设置http端口 EK-Qa<[|  
`D#3  
struts.url.https.port <K#]1xCA  
      The HTTPS port used by Struts URLs [q MFLY$  
      设置https端口 v7L} I[f  
K~?M?sa  
struts.url.includeParams [CfA\-gx<f  
      The default includeParams method to generate Struts URLs CUS^j  
      在url中产生 默认的includeParams z_jTR[dY  
kH)JBx.  
GmA5E  
struts.velocity.configfile mp{r$tc  
      The Velocity configuration file path ,w+}Evp])  
      velocity配置文件路径 $p} /&  
WLb *\  
struts.velocity.contexts #*g.hL<  
      List of Velocity context names  `#m>3  
      velocity的context列表 9O%4x"*PO  
)ny,vcU]  
Rj/9\F3H  
struts.velocity.manager.classname L 1fK  
      org.apache.struts2.views.velocity.VelocityManager implementation class w'Kc#2  
      org.apache.struts2.views.velocity.VelocityManager接口名 ddR_+B*H  
w84 ] s%y  
struts.velocity.toolboxlocation E rf$WPA  
      The location of the Velocity toolbox Cw=wU/)  
      velocity工具盒的位置 wc-ll&0Z  
struts.xslt.nocache ql Uw;{;p  
      Whether or not XSLT templates should not be cached 7jb{E+DrG  
      是否XSLT模版应该被缓存 B Bub'  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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