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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 s8.SEk|pB  
B+2E IaI  
struts.action.extension sc&u NfJ  
      The URL extension to use to determine if the request is meant for a Struts action X'J!.Jj  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 6~^ M<E  
3 =-V!E  
struts.configuration r (KAG"5  
      The org.apache.struts2.config.Configuration implementation class g[Q+DT  
        org.apache.struts2.config.Configuration接口名 e!=~f%c<N  
<j}A=SDZ)  
struts.configuration.files I=2b)"t0  
      A list of configuration files automatically loaded by Struts $pJw p{kN  
      struts自动加载的一个配置文件列表 t.Yf8Gy  
(v}4,'dS  
struts.configuration.xml.reload i]15g@  
      Whether to reload the XML configuration or not _=_<cg y1u  
      是否加载xml配置(true,false) T#.pi@PF>  
Ajm4q_  
struts.continuations.package 'E"W;#%  
      The package containing actions that use Rife continuations :nS$cC0x*  
      含有actions的完整连续的package名称 u{&#Gci  
2EiE5@  
struts.custom.i18n.resources $X,dQ]M  
      Location of additional localization properties files to load TW6F9}'f&  
      加载附加的国际化属性文件(不包含.properties后缀) +~$pkxD"  
G^V a$ike  
struts.custom.properties Mp?L9  
      Location of additional configuration properties files to load GK=b  
      加载附加的配置文件的位置 Xp[xO0  
Z;y(D_;_  
HCw,bRxm  
struts.devMode h + <Jv   
      Whether Struts is in development mode or not ckYT69U  
      是否为struts开发模式 0.[tEnLZ  
qLV3Y?S!L  
struts.dispatcher.parametersWorkaround VWK%6Ye0  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic y96HTQ32  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) e2yCWolmTS  
Eh*(N(`  
struts.enable.DynamicMethodInvocation tb4^+&.GS  
      Allows one to disable dynamic method invocation from the URL ERy=lP~gV  
        允许动态方法调用  <H npI  
r{ KQ3j9O  
struts.freemarker.manager.classname IGOEqUw*  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 82iFk`)T  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 sYbmL`{  
SBI *[  
struts.i18n.encoding nS](d2  
      The encoding to use for localization messages i5aY{3!  
      国际化信息内码 G@txX '  
~@DdN5  
struts.i18n.reload !t+ 3DMPn  
      Whether the localization messages should automatically be reloaded 4]#$YehM5  
      是否国际化信息自动加载 7,zE?KG /  
wYr*('uT  
struts.locale d( yTz&u)  
      The default locale for the Struts application 6Yl+IP];i  
      默认的国际化地区信息 oL~?^`cGZ  
Sm{> 8e}UE  
struts.mapper.class 2 w6iqLr?  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class &M:o(T  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 '&nQ~=3  
M@o^V(j  
struts.multipart.maxSize S=j pn  
      The maximize size of a multipart request (file upload) JvK]EwR ;  
      multipart请求信息的最大尺寸(文件上传用) >}:  
1m5*MY  
struts.multipart.parser n,d)Wwe_`y  
      The org.apache.struts2.dispatcher.multipart. n(`|:h"  
      MultiPartRequest parser implementation for a multipart request (file upload) "n_X4e+18P  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) pD('6C;  
fW[ .Q0  
wr5v-_7r,  
struts.multipart.saveDir G\o9mEzQ  
      The directory to use for storing uploaded files J;=T"C&  
      设置存储上传文件的目录夹 _N=f&~T  
Nv^b yWqu  
struts.objectFactory R a"hdxH  
      The com.opensymphony.xwork2.ObjectFactory implementation class |Sm/s;&c6  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ]6F\a= J  
f> bL }L  
struts.objectFactory.spring.autoWire A'.=SA2.Y  
      Whether Spring should autoWire or not H~^)^6)^T  
      是否自动绑定Spring '4SDAa2f  
l))Q/8H  
struts.objectFactory.spring.useClassCache \VA*3U^@  
      Whether Spring should use its class cache or not D*j^f7ab  
      是否spring应该使用自身的cache #IJe q0TVB  
S@g(kIo]  
struts.objectTypeDeterminer t cO{CI  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class xP,b/T #a  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 X`1R&K;z^  
uaz!ze+  
struts.serve.static.browserCache 3)OQgeKU  
If static content served by the Struts filter should set browser caching header properties or not ',c~8U#q  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 gJCZ9{Nl  
}8PO m#  
struts.serve.static NJ]3qH  
      Whether the Struts filter should serve static content or not a9UXg< 4  
      是否struts过滤器应该提供静态内容 kIX1u<M~  
s<rV1D  
struts.tag.altSyntax Svb>s|D  
      Whether to use the alterative syntax for the tags or not tJ 2GSZ`  
      是否可以用替代的语法替代tags .`Q^8|$-K  
tbWf m5$  
struts.ui.templateDir {VKFw=$8  
      The directory containing UI templates ]Axz}:  
      UI templates的目录夹 EY:IwDA.}  
*AYq :n6  
struts.ui.theme ""Da 2Md  
      The default UI template theme ;1s+1G}_z  
      默认的UI template主题 #n}~u@,o_  
6i2%EC9  
struts.url.http.port L7d1)mV  
      The HTTP port used by Struts URLs 0{g*\W*+~  
      设置http端口 X6",Xr! {  
1`YU9?  
struts.url.https.port 5 mC"8N1)  
      The HTTPS port used by Struts URLs DzQ  
      设置https端口 </WeB3#6  
xDGS`o_w_  
struts.url.includeParams Fs].Fa  
      The default includeParams method to generate Struts URLs T N1pg  
      在url中产生 默认的includeParams x M(H4.<  
g;v;xlY`N  
fGO\f;P  
struts.velocity.configfile ^lAM /  
      The Velocity configuration file path TS#[[^!S  
      velocity配置文件路径 nYFrp)DLK  
FY ms]bv  
struts.velocity.contexts I#&r5Q  
      List of Velocity context names ZZ7qSyBs?  
      velocity的context列表 M `^[Y2 c  
i'7+ ?YL  
u '7h(1@  
struts.velocity.manager.classname IHYLM;@L  
      org.apache.struts2.views.velocity.VelocityManager implementation class fT|A^  
      org.apache.struts2.views.velocity.VelocityManager接口名  UXs)$  
>WIc"y.  
struts.velocity.toolboxlocation 'gvR?[!t  
      The location of the Velocity toolbox X!p`|i  
      velocity工具盒的位置 G$>QH-p  
struts.xslt.nocache XTo7fbW*  
      Whether or not XSLT templates should not be cached  }:Gs ,  
      是否XSLT模版应该被缓存 sVK?sBs]  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八