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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ~vcua@  
.9vt<<Kwh  
struts.action.extension $.4N@=s,?c  
      The URL extension to use to determine if the request is meant for a Struts action ha7mXGN%  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 X2'XbG 3  
S" (Nf+ux  
struts.configuration @T J  
      The org.apache.struts2.config.Configuration implementation class I8k+Rk*  
        org.apache.struts2.config.Configuration接口名 ~cV";cD5  
X6xs@tgQ  
struts.configuration.files Y++n0sK5<  
      A list of configuration files automatically loaded by Struts 8~3I^I_v  
      struts自动加载的一个配置文件列表 m$7C{Mr'  
HhwAzk/G~  
struts.configuration.xml.reload ~zVe?(W  
      Whether to reload the XML configuration or not  /#zs  
      是否加载xml配置(true,false) oA3;P]~[  
gH*(1*  
struts.continuations.package V=8npz   
      The package containing actions that use Rife continuations J[c`Qq:&e  
      含有actions的完整连续的package名称 rp|A88Q/!  
x<PJ5G L  
struts.custom.i18n.resources q>.C5t'Qx  
      Location of additional localization properties files to load LIT`~D  
      加载附加的国际化属性文件(不包含.properties后缀) = BbG2k  
>ByqM{?  
struts.custom.properties aLlHR_  
      Location of additional configuration properties files to load RDEK=^J  
      加载附加的配置文件的位置 c )=a;_h  
4vV\vXT*  
4j(`koX_  
struts.devMode WJMmt XO  
      Whether Struts is in development mode or not 2w fkXS=~6  
      是否为struts开发模式 ^tIYr <I  
4/OmgBo '  
struts.dispatcher.parametersWorkaround tlB -s;  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic )TEod!]  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) >E3-/)Ti  
ppGWh  
struts.enable.DynamicMethodInvocation uPE Ab2u="  
      Allows one to disable dynamic method invocation from the URL r_kaS als  
        允许动态方法调用 f,ZJFb98  
.o]9 HbIk5  
struts.freemarker.manager.classname g |H  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class dx+xs&  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 (-`PO]e48  
=`UFg >-  
struts.i18n.encoding }aQ*1Vcj  
      The encoding to use for localization messages [Y j: H  
      国际化信息内码 HDaeJk  
6C/Pu!Sx?  
struts.i18n.reload oTrit_@3  
      Whether the localization messages should automatically be reloaded .&I!2F  
      是否国际化信息自动加载 tH#t8Tq5x  
HMDuP2Y  
struts.locale 6cD3(//  
      The default locale for the Struts application ^f9@ =I  
      默认的国际化地区信息 /:"^,i\t  
]c bXI  
struts.mapper.class g:@4/+TSt  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class F>GPi!O  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 [f}`reRlZ  
.{|SKhXk  
struts.multipart.maxSize *\cU}qjk  
      The maximize size of a multipart request (file upload) /U-+ClZi@  
      multipart请求信息的最大尺寸(文件上传用) Cq'{ %  
HTMg{_r(%  
struts.multipart.parser W8r"dK  
      The org.apache.struts2.dispatcher.multipart. bZ^'_OOn  
      MultiPartRequest parser implementation for a multipart request (file upload) Ya(3Z_f+VZ  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) vU(fd!V ?  
v*c"SI=@M=  
'-cayG   
struts.multipart.saveDir hT`&Xb  
      The directory to use for storing uploaded files BzV97'  
      设置存储上传文件的目录夹 ?@kz`BY  
I!SIy&=W  
struts.objectFactory wQ[!~>A  
      The com.opensymphony.xwork2.ObjectFactory implementation class y]+[o1]-c  
      com.opensymphony.xwork2.ObjectFactory接口(spring) {fjBa,o #  
0A-yQzL|  
struts.objectFactory.spring.autoWire #lMC#Ld  
      Whether Spring should autoWire or not pF9WKpzE  
      是否自动绑定Spring u:tcL-;U  
'Gamb+[  
struts.objectFactory.spring.useClassCache $s-B  
      Whether Spring should use its class cache or not v`G}sgn  
      是否spring应该使用自身的cache lCBH3-0^  
*{5/" H5  
struts.objectTypeDeterminer ;=k{[g 'gv  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class -yb7s2o  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 kD7'BP/#  
.}T-R?  
struts.serve.static.browserCache #_ UP}G$  
If static content served by the Struts filter should set browser caching header properties or not *ae)<l3v  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 f2&6NC;  
5.DmMG[T^=  
struts.serve.static 2%J] })  
      Whether the Struts filter should serve static content or not xxr'g =  
      是否struts过滤器应该提供静态内容 \RRSrPLd-  
pp(?rE$S  
struts.tag.altSyntax `^ a:1^  
      Whether to use the alterative syntax for the tags or not teC/Uf 5  
      是否可以用替代的语法替代tags :Nwv &+  
] w0Y5H "  
struts.ui.templateDir {47Uu%XT  
      The directory containing UI templates +$#XV@@~  
      UI templates的目录夹 mAET`B "  
mN.  
struts.ui.theme L3'isaz&^  
      The default UI template theme xg8R>j  
      默认的UI template主题 :RwURv+kT  
qnnRS  
struts.url.http.port 94|ZY}8|f  
      The HTTP port used by Struts URLs [_(uz,'  
      设置http端口 BUV4L5(  
% 4t?X  
struts.url.https.port k\9kOZW  
      The HTTPS port used by Struts URLs QDVSFGwr  
      设置https端口 X.FoX  
Bj9FSKiH  
struts.url.includeParams _HjB'XNr(  
      The default includeParams method to generate Struts URLs SuNc&e#(  
      在url中产生 默认的includeParams _MuzD&^qE  
uXvE>VpJG  
G N=8;Kq%  
struts.velocity.configfile R y(<6u0  
      The Velocity configuration file path B&<5VjZ\  
      velocity配置文件路径 MgN;[4|[h  
z`I%3U5(  
struts.velocity.contexts ,?IXfJ`c  
      List of Velocity context names dw!Xt@,[g{  
      velocity的context列表 uEG4^  
p GF;,h>  
bj0<A  
struts.velocity.manager.classname ,fN <I  
      org.apache.struts2.views.velocity.VelocityManager implementation class nh80"Ny5  
      org.apache.struts2.views.velocity.VelocityManager接口名 x]?V*Jz  
'HCRi Z<  
struts.velocity.toolboxlocation ;l<Hen*  
      The location of the Velocity toolbox 49O_A[(d  
      velocity工具盒的位置 -[pfLo  
struts.xslt.nocache Pn4jI(  
      Whether or not XSLT templates should not be cached V pzjh,r-j  
      是否XSLT模版应该被缓存 :#_k`{WG  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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