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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 {(`xA,El  
yLCJSN$7  
struts.action.extension '$be+Z32  
      The URL extension to use to determine if the request is meant for a Struts action ljO t~@Ea  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 3C;nC?]K  
:#spL*FIx  
struts.configuration h@(S];.  
      The org.apache.struts2.config.Configuration implementation class P:HmT   
        org.apache.struts2.config.Configuration接口名 K2pW|@~U  
?(j:F2dU~  
struts.configuration.files r(/+- t  
      A list of configuration files automatically loaded by Struts Lc13PTz>>g  
      struts自动加载的一个配置文件列表 k /lDE  
UxVxnJ_  
struts.configuration.xml.reload Q>>II|~;J  
      Whether to reload the XML configuration or not K<ok1g'0  
      是否加载xml配置(true,false) \@:mq]Y  
3R$*G8v  
struts.continuations.package W&0KO-}ot  
      The package containing actions that use Rife continuations {vAv ;m  
      含有actions的完整连续的package名称 o51jw(wO  
EEO)b_(  
struts.custom.i18n.resources U>kL|X3 V  
      Location of additional localization properties files to load <>6DPHg~  
      加载附加的国际化属性文件(不包含.properties后缀) 6J%yo[A(w  
[>U =P`  
struts.custom.properties NYp46;  
      Location of additional configuration properties files to load zvnR'\A_  
      加载附加的配置文件的位置 .uu[MzMIu  
XSz)$9~hk  
-85W/%  
struts.devMode xsdi\ j;n>  
      Whether Struts is in development mode or not '#@tovr  
      是否为struts开发模式 qFYM2  
H~r":A'"*  
struts.dispatcher.parametersWorkaround Lkl ^ `  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic $23dcC*hI  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) $|bdeQPr\  
:Z5Twb3h  
struts.enable.DynamicMethodInvocation xc6A&b>jI  
      Allows one to disable dynamic method invocation from the URL 5\eM3w'd  
        允许动态方法调用 ; )J\k2  
XhG3Of-6  
struts.freemarker.manager.classname B1Cu?k);.  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class uu+)r  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 *.F4?i2D  
T:(c/ >  
struts.i18n.encoding 'Q F@@48  
      The encoding to use for localization messages '?MT " G  
      国际化信息内码 E*X-f"  
o+^5W  
struts.i18n.reload %6@->c{  
      Whether the localization messages should automatically be reloaded JP*VR=0k?  
      是否国际化信息自动加载 r5S5;jL%t  
Z1ZjQt#~+  
struts.locale &)v}oHy,m  
      The default locale for the Struts application Sn!5/9Y  
      默认的国际化地区信息 |KLCO'x  
2h5L#\H"  
struts.mapper.class 1A.ecv'  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class I&G"{Dl94  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ?."YP[;  
mJL=H  
struts.multipart.maxSize |QB[f*y5  
      The maximize size of a multipart request (file upload) .7|Iausv  
      multipart请求信息的最大尺寸(文件上传用) %uy5la  
C4^o= 6{  
struts.multipart.parser 6#DDMP8;I  
      The org.apache.struts2.dispatcher.multipart. X{G&r$  
      MultiPartRequest parser implementation for a multipart request (file upload) {<1 ]cP  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) y$C\b\hM  
ErXzKf  
r>ca17  
struts.multipart.saveDir -oR P ZtW  
      The directory to use for storing uploaded files R /0zB  
      设置存储上传文件的目录夹 k~=_]sLn  
*'jI>^o  
struts.objectFactory Ty;P`Uv]r  
      The com.opensymphony.xwork2.ObjectFactory implementation class Ne9S90HsB6  
      com.opensymphony.xwork2.ObjectFactory接口(spring) G  Ps//  
pDV8B/{  
struts.objectFactory.spring.autoWire A{Dy3tm=  
      Whether Spring should autoWire or not /@QPJ~%8Ud  
      是否自动绑定Spring @pkQ2OM 2  
N(=Z4Nk5  
struts.objectFactory.spring.useClassCache ap|$8 G  
      Whether Spring should use its class cache or not %UokR"  
      是否spring应该使用自身的cache 1E]TH/JK  
* faG0le  
struts.objectTypeDeterminer S5>?j n1  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ft><Ql3  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 f )Ef-o  
5Sv;a(}  
struts.serve.static.browserCache JsD|igqF-  
If static content served by the Struts filter should set browser caching header properties or not !}PZCbDhL  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 B Ms?+  
b:t|9 FE%  
struts.serve.static j;SK{Oq  
      Whether the Struts filter should serve static content or not ,A9_xdv5  
      是否struts过滤器应该提供静态内容 @Tz}y"VG  
[H5BIM@{  
struts.tag.altSyntax h1REL^!c  
      Whether to use the alterative syntax for the tags or not OH/!Ky\@  
      是否可以用替代的语法替代tags 6Mh"{N7  
Z b}U 4  
struts.ui.templateDir r"xs?P&/$  
      The directory containing UI templates f 6 k=ew  
      UI templates的目录夹 S}/5W  
!M@jW[s  
struts.ui.theme &\ $~  
      The default UI template theme )wyC8`&-  
      默认的UI template主题 -"uOh,G}  
7*\Cf qrU  
struts.url.http.port n5>OZ3 E@  
      The HTTP port used by Struts URLs HP2J`>oo  
      设置http端口 !hWS%m@  
IF'Tj`yD  
struts.url.https.port o'J^kd`  
      The HTTPS port used by Struts URLs (j?ckah%V  
      设置https端口 v@ifB I  
0"J0JcFX  
struts.url.includeParams  BDfJ  
      The default includeParams method to generate Struts URLs Ym|%ka  
      在url中产生 默认的includeParams E)F#Z=)  
tg6iHFa  
/l>!7  
struts.velocity.configfile 9oQ$w?=#$  
      The Velocity configuration file path PT39VI =  
      velocity配置文件路径 Lq2ZgKd!  
>0E3Em<(}l  
struts.velocity.contexts *%CDQx0}  
      List of Velocity context names &t:~e" 5<  
      velocity的context列表 g1v=a  
"DvhAEM  
F4DJML-(  
struts.velocity.manager.classname H7%q[O  
      org.apache.struts2.views.velocity.VelocityManager implementation class Dgc}T8R  
      org.apache.struts2.views.velocity.VelocityManager接口名 q1pB~eg5  
\c4D|7\=  
struts.velocity.toolboxlocation 7Fzj&!>ti  
      The location of the Velocity toolbox bJoP@s  
      velocity工具盒的位置 L(o#)I>j  
struts.xslt.nocache $O_{cSKg7  
      Whether or not XSLT templates should not be cached ftxy]N LF  
      是否XSLT模版应该被缓存 9";qR,  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八