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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 u0)9IZxc  
4s'%BM-r-  
struts.action.extension 3fX _XH1Q  
      The URL extension to use to determine if the request is meant for a Struts action N7}3?wS  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 7B5b +  
PBEi"`i  
struts.configuration aR@+Qf  
      The org.apache.struts2.config.Configuration implementation class c3c3T`B  
        org.apache.struts2.config.Configuration接口名  5 b,|6  
=|empv#  
struts.configuration.files #)48dW!n  
      A list of configuration files automatically loaded by Struts *wd=&Z^19  
      struts自动加载的一个配置文件列表 L *|P'  
}.WO=IZ  
struts.configuration.xml.reload Uugq.'>  
      Whether to reload the XML configuration or not R^$EnrY(<  
      是否加载xml配置(true,false) & @_PY  
nUX3a'R  
struts.continuations.package |yp^T  
      The package containing actions that use Rife continuations )Spa F)N8  
      含有actions的完整连续的package名称 D^p)`*  
*> Be w  
struts.custom.i18n.resources HFF rS%  
      Location of additional localization properties files to load i-p,x0th  
      加载附加的国际化属性文件(不包含.properties后缀) 2~ETu&R:  
7PUy`H,&  
struts.custom.properties cH|J  
      Location of additional configuration properties files to load 7i02M~*uS  
      加载附加的配置文件的位置 '^7UcgugB  
'"LaaTTs  
hcYqiM@8>  
struts.devMode d1t_o2  
      Whether Struts is in development mode or not +7 j/.R  
      是否为struts开发模式 7(C)vtEO:  
dN:^RCFzS  
struts.dispatcher.parametersWorkaround fk1d iB  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic  rf'A+q  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Vu4LC&q  
ePaC8sd0  
struts.enable.DynamicMethodInvocation 3i4m!g5Z?  
      Allows one to disable dynamic method invocation from the URL -{z[.v.p  
        允许动态方法调用 2VX9FDrnk  
SJ;{  Hg  
struts.freemarker.manager.classname d$E>bo-\   
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class )?l7I*  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 loBW#>  
+~,q"6  
struts.i18n.encoding 9q&~!>lt  
      The encoding to use for localization messages pV 8U`T  
      国际化信息内码 "Z&_*F.[O  
opzlh@R 3  
struts.i18n.reload #\_FSr fX  
      Whether the localization messages should automatically be reloaded C+t|fSJ  
      是否国际化信息自动加载 JLu$UR4  
0Am\02R.C,  
struts.locale ! z5c+JqN  
      The default locale for the Struts application auY?Cj'"fs  
      默认的国际化地区信息 .;,,{ ;  
H xc>?  
struts.mapper.class :zO;E+s  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class '*&V7:  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 I-kK^_0mV<  
}y(cv}8Y  
struts.multipart.maxSize /%{CJ0Y  
      The maximize size of a multipart request (file upload) *lheF>^  
      multipart请求信息的最大尺寸(文件上传用) K>\v<!%a  
pk;S"cnk  
struts.multipart.parser or7l} X  
      The org.apache.struts2.dispatcher.multipart. K,P`V &m?  
      MultiPartRequest parser implementation for a multipart request (file upload) PBL=P+  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) z$/s` |]  
tv]9n8v  
QMDkkNK  
struts.multipart.saveDir 2J3y 1  
      The directory to use for storing uploaded files =dWq B&  
      设置存储上传文件的目录夹 fX1Ib$v  
6]HMhv  
struts.objectFactory ys7 Tq+  
      The com.opensymphony.xwork2.ObjectFactory implementation class 9%MgAik(  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 01]W@ \(  
$L]M3$\9  
struts.objectFactory.spring.autoWire 7Fzr\&  
      Whether Spring should autoWire or not WK{F  
      是否自动绑定Spring @j(2tJ,w  
dtV7YPz4+  
struts.objectFactory.spring.useClassCache lXVh`+X/l  
      Whether Spring should use its class cache or not 52'6wwv6?  
      是否spring应该使用自身的cache 7WNUHLEt  
8>I4e5Ym  
struts.objectTypeDeterminer dI%Nwl%  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class %T}*DC$&S  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 +7y#c20  
fzN?X=  
struts.serve.static.browserCache 1V,DcolRY  
If static content served by the Struts filter should set browser caching header properties or not =W gzj|Kr  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ))7CqN  
< 7*9b  
struts.serve.static .W\x{h  
      Whether the Struts filter should serve static content or not <Iil*\SC  
      是否struts过滤器应该提供静态内容 -x!JTx[K  
7oCY@>(f  
struts.tag.altSyntax py%:,hi  
      Whether to use the alterative syntax for the tags or not X'/'r.b6  
      是否可以用替代的语法替代tags [z'jL'\4  
IGA4"\s  
struts.ui.templateDir n3\~H9  
      The directory containing UI templates q{xF7}i  
      UI templates的目录夹 JL7;l0#  
Y/L*0 M.<  
struts.ui.theme wxF\enDY  
      The default UI template theme \[A JWyP  
      默认的UI template主题 }E&:  
Q-yNw0V}F  
struts.url.http.port {m_y<  
      The HTTP port used by Struts URLs :8A@4vMS)?  
      设置http端口 {WTy/$ Qk  
xg'xuz$U  
struts.url.https.port 79+i4(H  
      The HTTPS port used by Struts URLs DjvPeX  
      设置https端口 59X XmVg  
Wo5%@C#M  
struts.url.includeParams H=mFc@fh  
      The default includeParams method to generate Struts URLs p?4,YV|#  
      在url中产生 默认的includeParams *y|zF6  
n.G.f bO  
`yC[Fn"E^  
struts.velocity.configfile VU+=b+B~m  
      The Velocity configuration file path 64Tb,AL_  
      velocity配置文件路径 @yF >=5z:  
FgMQ=O2  
struts.velocity.contexts TQQh:y  
      List of Velocity context names 00yWk_w  
      velocity的context列表 ;(Az   
3jHE,5m  
~6+>2|wIS  
struts.velocity.manager.classname 35:RsL  
      org.apache.struts2.views.velocity.VelocityManager implementation class J'yCVb)V  
      org.apache.struts2.views.velocity.VelocityManager接口名 2#s8Dxt  
Q /t_% vb  
struts.velocity.toolboxlocation ;jBS:k?  
      The location of the Velocity toolbox t[MM=6|Wb  
      velocity工具盒的位置 **.23<n^W  
struts.xslt.nocache  HYv-5:B  
      Whether or not XSLT templates should not be cached BnaI30-  
      是否XSLT模版应该被缓存 ";DozPU  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八