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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 sR79 K1*j  
*{[d%B<lp  
struts.action.extension <Jwo?[a  
      The URL extension to use to determine if the request is meant for a Struts action L8P 36]>  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 #v/ry)2Y=  
l>Av5g)  
struts.configuration K-@bwB7~s  
      The org.apache.struts2.config.Configuration implementation class M,..Kw/ }~  
        org.apache.struts2.config.Configuration接口名 l%PnB )F  
%$9:e J?  
struts.configuration.files wZ>Y<0,  
      A list of configuration files automatically loaded by Struts M&e8zS  
      struts自动加载的一个配置文件列表 EAyukM2  
q$>_WF#||  
struts.configuration.xml.reload 1n3$V:00  
      Whether to reload the XML configuration or not ~e^)q>Lb7(  
      是否加载xml配置(true,false) w2Kq(^?  
lU$X4JBzS  
struts.continuations.package ^x3EotQ\  
      The package containing actions that use Rife continuations z93nYY$`Y  
      含有actions的完整连续的package名称 ;&mxqY8`'  
6ZgNHARS  
struts.custom.i18n.resources p#<nK+6.8  
      Location of additional localization properties files to load Q \WXi  
      加载附加的国际化属性文件(不包含.properties后缀) VM;g +RRq  
e6m1NH4,  
struts.custom.properties f\'G`4e  
      Location of additional configuration properties files to load `.8-cz  
      加载附加的配置文件的位置 t|=n1\=?  
2Iz fP;V?  
$jcz?vH  
struts.devMode k~|ZO/X@l%  
      Whether Struts is in development mode or not cG(0q[  
      是否为struts开发模式 |_I[1%&`N  
gMay  
struts.dispatcher.parametersWorkaround 9:\A7 =  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic D pNX66O  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) O3xz|&xY&  
m)k-uWc$C  
struts.enable.DynamicMethodInvocation I}%mfojC  
      Allows one to disable dynamic method invocation from the URL }K;iJ~kD1  
        允许动态方法调用 -x?Hj/  
D(@SnI+  
struts.freemarker.manager.classname \E&thp  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Zh? V,39  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 .h6Y< E  
Xj;2h{#s  
struts.i18n.encoding Cz[5Ug'V  
      The encoding to use for localization messages ~Jxlj(" 0(  
      国际化信息内码 B3 .X}ys#  
`&,_xUA  
struts.i18n.reload /J.0s0 @  
      Whether the localization messages should automatically be reloaded (zEYpTp  
      是否国际化信息自动加载 |rFJ*.nD  
i&pMF O  
struts.locale m9I(TOw  
      The default locale for the Struts application tnJ`D4  
      默认的国际化地区信息 N.vG]%1"  
d3(+ztmG!  
struts.mapper.class 2{gwY85:  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 2D_6  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 D:6N9POB  
C\/b~HU  
struts.multipart.maxSize m&ZJqsZIL  
      The maximize size of a multipart request (file upload) R/rcXX7%  
      multipart请求信息的最大尺寸(文件上传用) 9Q=>MOB-  
^T+<!k  
struts.multipart.parser 1sMV`qv>  
      The org.apache.struts2.dispatcher.multipart. !,R  
      MultiPartRequest parser implementation for a multipart request (file upload) 8z0Hx  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) /t5g"n3  
9?!u2 o  
F*. /D~K  
struts.multipart.saveDir \CDAFu#  
      The directory to use for storing uploaded files P 4H*jy@?  
      设置存储上传文件的目录夹 `43vxcMg  
uzO {{S-  
struts.objectFactory % dYI5U89  
      The com.opensymphony.xwork2.ObjectFactory implementation class b sMC#xT  
      com.opensymphony.xwork2.ObjectFactory接口(spring) |&(H^<+Xp  
VAt>ji7c  
struts.objectFactory.spring.autoWire Qw}xGlF,  
      Whether Spring should autoWire or not i(z+a6^@|  
      是否自动绑定Spring iPz1eUj  
R'r|E_  
struts.objectFactory.spring.useClassCache R rxRa[{Z  
      Whether Spring should use its class cache or not ^|r`"gOJ3  
      是否spring应该使用自身的cache zQ=aey%  
t3 K>\ :  
struts.objectTypeDeterminer 2-PI JO  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class @_(nd57oSs  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 PXR0Yn  
{.cB>L  
struts.serve.static.browserCache >*Sv0#  
If static content served by the Struts filter should set browser caching header properties or not )'w]YIv9  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 @ljZw(  
U:J /\-  
struts.serve.static ZIDFF  
      Whether the Struts filter should serve static content or not rx{#+ iw  
      是否struts过滤器应该提供静态内容 1RURZoL  
RlPjki"Mg  
struts.tag.altSyntax l(.7t'  
      Whether to use the alterative syntax for the tags or not :S#eg1y.w]  
      是否可以用替代的语法替代tags ADTU{6UPS  
X3 <SP  
struts.ui.templateDir Yo>%s4_,  
      The directory containing UI templates Cx$9#3\  
      UI templates的目录夹 BzN/6VEw  
3HXh6( e  
struts.ui.theme ;U8dm"  
      The default UI template theme YHJ'  
      默认的UI template主题 7eTA`@v5A  
;.L!%$0i#  
struts.url.http.port `Uu^I   
      The HTTP port used by Struts URLs 69N1 mP  
      设置http端口 )0'Y et}  
>h|UCJ1 `  
struts.url.https.port HE9. k.sS  
      The HTTPS port used by Struts URLs "MW55OWYU  
      设置https端口 1LV|t+Sex  
>>/nuWdpO  
struts.url.includeParams "sC$%D<oc  
      The default includeParams method to generate Struts URLs M_yZR^;^-  
      在url中产生 默认的includeParams {c.}fyN  
6ch@Be5*  
OX'/?B((  
struts.velocity.configfile qdKh6{  
      The Velocity configuration file path }o~Tw?z-|  
      velocity配置文件路径 )kFme=;  
]eY Qio!  
struts.velocity.contexts :Xb*m85y  
      List of Velocity context names :/ ~):tM  
      velocity的context列表 v\J!yz  
=#7s+d-  
D-;J;m \  
struts.velocity.manager.classname AviT+^7E  
      org.apache.struts2.views.velocity.VelocityManager implementation class 77)OW $G  
      org.apache.struts2.views.velocity.VelocityManager接口名 rjfc.l#v  
4X<Oux*  
struts.velocity.toolboxlocation pIk4V/ fy  
      The location of the Velocity toolbox ,q{lYX83S  
      velocity工具盒的位置 f:)]FHPB1  
struts.xslt.nocache QSO5 z2|  
      Whether or not XSLT templates should not be cached i(dXA(p  
      是否XSLT模版应该被缓存 e&r+w!  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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