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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 \AI-x$5R*  
qM3NQ8Rm  
struts.action.extension keQRS+9  
      The URL extension to use to determine if the request is meant for a Struts action m%;LJ~R  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Z"Q9^;0%  
"85)2*+  
struts.configuration SuI^8^f=  
      The org.apache.struts2.config.Configuration implementation class ($UUgjv F  
        org.apache.struts2.config.Configuration接口名 >bmdu \j5R  
O\=Zo9(NHF  
struts.configuration.files 5mL4Zq"  
      A list of configuration files automatically loaded by Struts w4Hq|N1-Y  
      struts自动加载的一个配置文件列表 kbH@h2Ww  
+_*iF5\  
struts.configuration.xml.reload %ib7)8Ki0  
      Whether to reload the XML configuration or not yP` K [/  
      是否加载xml配置(true,false) .*+jD^Gr  
muK.x7zyl  
struts.continuations.package /c!^(5K fT  
      The package containing actions that use Rife continuations F]N?_ bo  
      含有actions的完整连续的package名称 ;>5]KNj  
|RXXj[z  
struts.custom.i18n.resources P,G :9x"e  
      Location of additional localization properties files to load OYmutq  
      加载附加的国际化属性文件(不包含.properties后缀) TB<$9FCHK  
+l]> (k.2  
struts.custom.properties .Tw:Y,G  
      Location of additional configuration properties files to load ,5T1QWn^f  
      加载附加的配置文件的位置 y La E]  
bl10kI:F  
qMA";Frt3N  
struts.devMode d}|z+D  
      Whether Struts is in development mode or not !N][W#:  
      是否为struts开发模式 k`z]l;:  
)3 f\H  
struts.dispatcher.parametersWorkaround 0#m=76[b  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic t -}IKrbv  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) m9D Tz$S.  
M*Q}^<E*  
struts.enable.DynamicMethodInvocation =E(ed,gH8  
      Allows one to disable dynamic method invocation from the URL 6p&uifY}tR  
        允许动态方法调用 |-cXb.M[  
Oi@|4mo  
struts.freemarker.manager.classname f|/ ,eP$  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ;v.J D7  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 P)Oe?z;G?  
6V6Mo}QF s  
struts.i18n.encoding FGm!|iI  
      The encoding to use for localization messages <7L-25 =  
      国际化信息内码 }1CvbB%,A  
>@-. rkd(  
struts.i18n.reload tehWGqx)  
      Whether the localization messages should automatically be reloaded ,":_CY4(  
      是否国际化信息自动加载 i],~tT|P  
zYWVz3l  
struts.locale }5 $le]  
      The default locale for the Struts application [ `_sH\  
      默认的国际化地区信息 W+4Bx=Mj  
qwn EVjf  
struts.mapper.class B T {cTj0W  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 7Xh @%[   
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 7*WO9R/  
RjrQDh|((  
struts.multipart.maxSize C}L2'l,  
      The maximize size of a multipart request (file upload) OCCC' k  
      multipart请求信息的最大尺寸(文件上传用) `JGW8 _  
C58B(Ndo  
struts.multipart.parser I1K%n'D  
      The org.apache.struts2.dispatcher.multipart. `/i/AZ{  
      MultiPartRequest parser implementation for a multipart request (file upload) Q{miI N  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ;/IX w>O(/  
J^PFhu  
z  fy(j  
struts.multipart.saveDir Z^WI~B0nt  
      The directory to use for storing uploaded files lKqFuLHwF  
      设置存储上传文件的目录夹 y;P%=M P  
i!(5y>I_  
struts.objectFactory '9&@?P;  
      The com.opensymphony.xwork2.ObjectFactory implementation class Q?`s4P)14o  
      com.opensymphony.xwork2.ObjectFactory接口(spring) {Dy,u%W?  
#~w~k+E4  
struts.objectFactory.spring.autoWire Z\n^m^Z =  
      Whether Spring should autoWire or not i`iR7UmHeR  
      是否自动绑定Spring h^14/L=|  
hwi_=-SL  
struts.objectFactory.spring.useClassCache 7pnlS*E.  
      Whether Spring should use its class cache or not oBo |eRIt|  
      是否spring应该使用自身的cache nCA~=[&H  
LA/Qm/T  
struts.objectTypeDeterminer 34_ V&8  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class aQ&K a  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 L[`8 :}M  
QWC C  
struts.serve.static.browserCache *Aug7 HlS  
If static content served by the Struts filter should set browser caching header properties or not ? 5OK4cR  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 KAu>U3\/  
xv%]g= Q  
struts.serve.static giesof  
      Whether the Struts filter should serve static content or not {/48n83n  
      是否struts过滤器应该提供静态内容 r-]%R:U*  
:6o|6MC!  
struts.tag.altSyntax :wUi&xw  
      Whether to use the alterative syntax for the tags or not s<3M_mt  
      是否可以用替代的语法替代tags <R%TCVwC@  
it-2]Nw  
struts.ui.templateDir z+zEH9.'  
      The directory containing UI templates ^^a%Lz)U  
      UI templates的目录夹 .}(X19R  
Z=a~0&G  
struts.ui.theme K&T.~2'>  
      The default UI template theme <l eE.hhf.  
      默认的UI template主题 M+lr [,c  
RfT)dS+rAh  
struts.url.http.port 2a 7"~z~  
      The HTTP port used by Struts URLs GSfU*@L3  
      设置http端口 f<'D?d)L^  
{)Shc;Qh  
struts.url.https.port ^U,Dx  
      The HTTPS port used by Struts URLs D^f;X.Qm  
      设置https端口 pP#|: %  
&78lep  
struts.url.includeParams \#F>R,  
      The default includeParams method to generate Struts URLs s;sr(34  
      在url中产生 默认的includeParams gebL6oc%  
ni<\ AF]`  
sNMF(TY  
struts.velocity.configfile E #!.;AQ  
      The Velocity configuration file path w")m]LV  
      velocity配置文件路径 2~V"[26t  
^a1k"|E?f  
struts.velocity.contexts "}oo`+]Cq  
      List of Velocity context names P=s3&NDD  
      velocity的context列表 AWA J*6Z  
D/,(xWaT  
*V[I&dKq  
struts.velocity.manager.classname 19%zcYTe  
      org.apache.struts2.views.velocity.VelocityManager implementation class =p:~sn#  
      org.apache.struts2.views.velocity.VelocityManager接口名 i8f+woZL  
iI &z5Q2  
struts.velocity.toolboxlocation ;*=7>"o'`  
      The location of the Velocity toolbox G 6xN R  
      velocity工具盒的位置 `L!L=.}4  
struts.xslt.nocache 6l2Os $  
      Whether or not XSLT templates should not be cached LX=cx$K  
      是否XSLT模版应该被缓存 7Rc>LI* '  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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