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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 g.F{yX]  
tet  
struts.action.extension 2R<1  ^  
      The URL extension to use to determine if the request is meant for a Struts action 2S!=2u+7  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 w:z_EV!&  
ks(PH6:]<  
struts.configuration k E6\G}zj  
      The org.apache.struts2.config.Configuration implementation class 1DZGb)OU  
        org.apache.struts2.config.Configuration接口名 DU}q4u@ )  
M&Ycw XV:Z  
struts.configuration.files b-~`A;pr  
      A list of configuration files automatically loaded by Struts c{FvMV2em  
      struts自动加载的一个配置文件列表 qDcl;{L  
&^&k]JBaV  
struts.configuration.xml.reload }c&Zv#iO6  
      Whether to reload the XML configuration or not ;&JMBn]J  
      是否加载xml配置(true,false) #H7(dT  
'-W p|A  
struts.continuations.package \ZCc~muR  
      The package containing actions that use Rife continuations f"k/j?e*  
      含有actions的完整连续的package名称 -#)xe W.d  
xvpS%MS  
struts.custom.i18n.resources ;9u6]%hQTX  
      Location of additional localization properties files to load !H?#~{ W}  
      加载附加的国际化属性文件(不包含.properties后缀) @["Vzg!I6"  
sjShm  
struts.custom.properties {/#?n["  
      Location of additional configuration properties files to load LR9dQ=fHS  
      加载附加的配置文件的位置 .lTGFeJqZ4  
QKCk. 0Xe  
-R6z/P (}  
struts.devMode 9D8el}uHf  
      Whether Struts is in development mode or not hQ<"  
      是否为struts开发模式 F_V~UX1D  
';b/D   
struts.dispatcher.parametersWorkaround vQBfT% &Q-  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic m[Zz(tL  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) , JVD ;u  
{#Gr=iv~N  
struts.enable.DynamicMethodInvocation =>S5}6  
      Allows one to disable dynamic method invocation from the URL ,`-6!|:  
        允许动态方法调用 K 7YpGGd5  
!f7}5/YC7v  
struts.freemarker.manager.classname .bnoK  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class |? r,W ~9`  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 V3I&0P k  
4P2)fLmc  
struts.i18n.encoding #a}fI  
      The encoding to use for localization messages "d.qmM  
      国际化信息内码 OBb  
0YIvE\-  
struts.i18n.reload M^g"U`  
      Whether the localization messages should automatically be reloaded S=M$g#X`5  
      是否国际化信息自动加载 ] J:^$]  
fkk\Q>J9!=  
struts.locale gX6'!}G8]  
      The default locale for the Struts application Lxd*W2$3_  
      默认的国际化地区信息 LD^V="d  
c&F"tLl  
struts.mapper.class Y Xn)?  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class SjG=H%  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 $&lS7}  
&XgB-}^:  
struts.multipart.maxSize X$%RJ3t e  
      The maximize size of a multipart request (file upload) bU_9GGG|  
      multipart请求信息的最大尺寸(文件上传用) MdEZ839J  
Q1s`d?P/`  
struts.multipart.parser >Qt#6X|  
      The org.apache.struts2.dispatcher.multipart. .c~;/@{  
      MultiPartRequest parser implementation for a multipart request (file upload) - n11L  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 2r[Q$GPM<  
]6$NU [  
_=4Dh/Dv  
struts.multipart.saveDir F(@|p]3*  
      The directory to use for storing uploaded files wf8vKl#Kfw  
      设置存储上传文件的目录夹 N:gS]OI*  
i"|'p/9@q  
struts.objectFactory ~v+& ?dg  
      The com.opensymphony.xwork2.ObjectFactory implementation class \? MuORg  
      com.opensymphony.xwork2.ObjectFactory接口(spring) m6'YFpf)V  
c67O/ B(  
struts.objectFactory.spring.autoWire Ep?a1&b  
      Whether Spring should autoWire or not C{Aeud #5  
      是否自动绑定Spring Ig5J_Z^]b  
o+6Y/6Xp@  
struts.objectFactory.spring.useClassCache m,)Re8W-  
      Whether Spring should use its class cache or not p &XbXg-  
      是否spring应该使用自身的cache WY<ip<  
M# S:'WN  
struts.objectTypeDeterminer QE-t v00  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class c;(}Ih(#  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 KX`MX5?x  
I#$u(2.H  
struts.serve.static.browserCache PT>,:zY  
If static content served by the Struts filter should set browser caching header properties or not FC vR  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 C{e:xGJK  
gsT%_2>CL  
struts.serve.static ,uDB ]  
      Whether the Struts filter should serve static content or not :@YZ6?hf  
      是否struts过滤器应该提供静态内容 U/{cYX  
@bD,^3U  
struts.tag.altSyntax zb:p,T@5  
      Whether to use the alterative syntax for the tags or not ?t?!)#X  
      是否可以用替代的语法替代tags &w LI:x5  
srg#<oH|{c  
struts.ui.templateDir L;grH5K5  
      The directory containing UI templates GT#iY*  
      UI templates的目录夹 }bjTb!  
ob-be2EysH  
struts.ui.theme 1/ j}VC  
      The default UI template theme 2/(gf[elX  
      默认的UI template主题 U_oMR$/Z  
Fvi<5v  
struts.url.http.port kj+AsQC ,  
      The HTTP port used by Struts URLs `[CXxp  
      设置http端口 o2F6K*u}  
>/evL /  
struts.url.https.port wGb{O  
      The HTTPS port used by Struts URLs "64pVaT4  
      设置https端口 ]Nsb V  
!K6:W1  
struts.url.includeParams QeU>%qKT  
      The default includeParams method to generate Struts URLs gp(w6 :w  
      在url中产生 默认的includeParams [ub,&j^  
`Mp]iD {  
K;S&91V)=  
struts.velocity.configfile CDR^xo5 dP  
      The Velocity configuration file path 4[rD|  
      velocity配置文件路径 =cqaA^HQL  
/C3=-Hp  
struts.velocity.contexts tA'i-D&  
      List of Velocity context names ,!bOzth2>K  
      velocity的context列表 N b(se*Y#  
;jI\MZ~l\  
C^l) n!fq  
struts.velocity.manager.classname *4=Fy:R]O  
      org.apache.struts2.views.velocity.VelocityManager implementation class N!Kd VDdT|  
      org.apache.struts2.views.velocity.VelocityManager接口名 #N,\c@Gy  
{s_0[>  
struts.velocity.toolboxlocation @CWfhc-Ub  
      The location of the Velocity toolbox i~k?k.t8  
      velocity工具盒的位置 !)_5z<  
struts.xslt.nocache 7.akp  
      Whether or not XSLT templates should not be cached Tcr&{S&o  
      是否XSLT模版应该被缓存 | ql!@M(p  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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