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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ,Ep41v;T%`  
GOj<>h}r  
struts.action.extension \@hq7:Q  
      The URL extension to use to determine if the request is meant for a Struts action A v[|G4n  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 2; ~jKR[~  
\Zmn!Gg  
struts.configuration }e4#Mx  
      The org.apache.struts2.config.Configuration implementation class DY?;Z98P?  
        org.apache.struts2.config.Configuration接口名 ]}s'`44J9e  
4A\>O?\  
struts.configuration.files FiW>kTM8  
      A list of configuration files automatically loaded by Struts ))eQZ3ap9  
      struts自动加载的一个配置文件列表 P"ATqQG%D  
l_0/g^(  
struts.configuration.xml.reload _p,1m[&M  
      Whether to reload the XML configuration or not (#5TM1/A  
      是否加载xml配置(true,false) {5J: ]{p  
y5$AAas  
struts.continuations.package   ]n (:X  
      The package containing actions that use Rife continuations jb0LMl}/A  
      含有actions的完整连续的package名称 RAi]9`*7  
w5R?9"d@  
struts.custom.i18n.resources /4bHN:I]M  
      Location of additional localization properties files to load HG:9yP<,o  
      加载附加的国际化属性文件(不包含.properties后缀) @&}~r  
8w L%(p  
struts.custom.properties m5KAKpCR,  
      Location of additional configuration properties files to load O cJ(i#Q~<  
      加载附加的配置文件的位置 k!= jO#)Rd  
pjrzoMF  
 jgd^{!  
struts.devMode 2kV{|`1  
      Whether Struts is in development mode or not ,n\'dMNii  
      是否为struts开发模式 y-=YXqj  
#F25,:hY  
struts.dispatcher.parametersWorkaround wxIWh>pZa  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic C .{`-RO  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) $R_RKyXzo  
VMgO1-F  
struts.enable.DynamicMethodInvocation aOK,Mm:iO  
      Allows one to disable dynamic method invocation from the URL E6_.Q `!ll  
        允许动态方法调用 Dvz}sQZ  
d|RDx;r l8  
struts.freemarker.manager.classname ,G%?}TfC)  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class -:NFF'  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 |"o/GUI~  
E !}~j  
struts.i18n.encoding o%V%@q H  
      The encoding to use for localization messages $ITh)#Nj  
      国际化信息内码 C|H/x\?zRv  
*7:HO{P>Y  
struts.i18n.reload j/*4Wj[  
      Whether the localization messages should automatically be reloaded Q=T/hb  
      是否国际化信息自动加载 wTK>U`o  
{ ((|IvP`  
struts.locale aFtL_# U  
      The default locale for the Struts application a?5R ;I B  
      默认的国际化地区信息 }`*DMI;-  
("5Eed  
struts.mapper.class z3 Ro*yJU  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class [ r;hF  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 J sc`^a%`'  
v dR6y  
struts.multipart.maxSize '>0rp\jC  
      The maximize size of a multipart request (file upload) >+ E  
      multipart请求信息的最大尺寸(文件上传用) `6BjNV  
'X{J~fEI!  
struts.multipart.parser ;JAb8dyS2  
      The org.apache.struts2.dispatcher.multipart. })^%>yLfc|  
      MultiPartRequest parser implementation for a multipart request (file upload) |6y(7Ha  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) )Ept yH  
cO^}A(Ma(  
2pn8PQfg)  
struts.multipart.saveDir \V/;i.ng  
      The directory to use for storing uploaded files />[X k  
      设置存储上传文件的目录夹 R#w9%+  
,)](h+zl_6  
struts.objectFactory [G>U>[u|  
      The com.opensymphony.xwork2.ObjectFactory implementation class .L'eVLQe  
      com.opensymphony.xwork2.ObjectFactory接口(spring) :3$-Qv X  
[Adkj  
struts.objectFactory.spring.autoWire oNK-^N?-T  
      Whether Spring should autoWire or not B`1"4[{  
      是否自动绑定Spring `-QY<STTP9  
y4Fuh nb>  
struts.objectFactory.spring.useClassCache [yf&]0  
      Whether Spring should use its class cache or not g?=|kp  
      是否spring应该使用自身的cache %}x$YD O  
Q\k|pg?  
struts.objectTypeDeterminer &ytnoj1L(  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class =%IBl]Z!"  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 cc_v4d{x  
gHe%N? '  
struts.serve.static.browserCache QGI_aU  
If static content served by the Struts filter should set browser caching header properties or not VGtKW kVH  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 jUg.Y98  
\$%q< _l  
struts.serve.static u/g4s (a  
      Whether the Struts filter should serve static content or not 6l|,J`G  
      是否struts过滤器应该提供静态内容 ;&8  
+K"8Q'&t  
struts.tag.altSyntax xKW`m  
      Whether to use the alterative syntax for the tags or not [>y0Xf9^  
      是否可以用替代的语法替代tags 4~YPLu  
Se>"=[=  
struts.ui.templateDir N@>o:(08  
      The directory containing UI templates 0^ IHBN?9  
      UI templates的目录夹 1`z^Xk8vt  
g Xi& S  
struts.ui.theme 0z1UF{{  
      The default UI template theme k),!%6\(  
      默认的UI template主题 N5Rda2m  
=SqI# v  
struts.url.http.port HJ+I;OJ  
      The HTTP port used by Struts URLs vE=)qn=a  
      设置http端口 f~{@(g&Gl  
y %4G[Dz  
struts.url.https.port ^N`bA8  
      The HTTPS port used by Struts URLs ZlxJY%o eu  
      设置https端口 s)<^YASg  
T~" T%r  
struts.url.includeParams c2iPm9"eh  
      The default includeParams method to generate Struts URLs C\WU<!  
      在url中产生 默认的includeParams ;DXcEzV  
JVx ,1lth  
uv$t>_^  
struts.velocity.configfile ? pkg1F7  
      The Velocity configuration file path B]-~hP  
      velocity配置文件路径 )of?!>'S[  
tbr1mw'G  
struts.velocity.contexts E"{2R>mU~  
      List of Velocity context names nC;2wQ6aO  
      velocity的context列表 X;D"}X4(E  
JE$aYs<(TF  
9=wt9` ?  
struts.velocity.manager.classname j4hiMI;  
      org.apache.struts2.views.velocity.VelocityManager implementation class ~=xS\@UY =  
      org.apache.struts2.views.velocity.VelocityManager接口名 ?!$uMKyt  
1tMs\e-  
struts.velocity.toolboxlocation ,&X7D]  
      The location of the Velocity toolbox }&I^1BHZs  
      velocity工具盒的位置 k@i+gV%  
struts.xslt.nocache @=kDaPme92  
      Whether or not XSLT templates should not be cached /^F$cQX(  
      是否XSLT模版应该被缓存 ]IZn#gnM  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
10+5=?,请输入中文答案:十五