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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 kn"(A .R  
:$9tF >  
struts.action.extension 2Q"K8=s  
      The URL extension to use to determine if the request is meant for a Struts action E\2%E@0#  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 PIpi1v*qz  
{& T_sw@[  
struts.configuration ^Js9 s8?$  
      The org.apache.struts2.config.Configuration implementation class q8Z<{#oXu  
        org.apache.struts2.config.Configuration接口名 SN!?}<|U  
RlDn0s  
struts.configuration.files 9pxc~=  
      A list of configuration files automatically loaded by Struts x~j`@k,;  
      struts自动加载的一个配置文件列表 *U\`CXn;  
;l-!)0 U  
struts.configuration.xml.reload &q|K!5[k  
      Whether to reload the XML configuration or not !1Cy$}w  
      是否加载xml配置(true,false) rI-%be==  
_OC<[A  
struts.continuations.package *GN# r11d  
      The package containing actions that use Rife continuations Clb@$,  
      含有actions的完整连续的package名称 om-omo&,X=  
H&}pkrH~  
struts.custom.i18n.resources m<qJcZk  
      Location of additional localization properties files to load =k:,qft2  
      加载附加的国际化属性文件(不包含.properties后缀) ,$+V  
Y]u+\y~  
struts.custom.properties [bNx^VP*  
      Location of additional configuration properties files to load _M5|Y@XN-  
      加载附加的配置文件的位置 3K/MvNI>  
^_5r<{7/ :  
1s@+;QUib  
struts.devMode 3fJc 9|  
      Whether Struts is in development mode or not @<]Ekkg  
      是否为struts开发模式 h@WhNk7"xa  
">j j  
struts.dispatcher.parametersWorkaround {Wu$YWE*sx  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic yw3$2EW  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) y e? 'Ze  
c>~*/%+  
struts.enable.DynamicMethodInvocation ,V:SN~P66+  
      Allows one to disable dynamic method invocation from the URL A;|D:;x3G  
        允许动态方法调用 'xg Lt(  
%(G* ,  
struts.freemarker.manager.classname v(D;PS3r 7  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class PO 7Lf#9]  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 /mu*-,a eX  
JyOo1E.  
struts.i18n.encoding c+nq] xOs'  
      The encoding to use for localization messages 0aa&m[Mk  
      国际化信息内码 TLe~y1dwY=  
T+k{W6  
struts.i18n.reload 2WVka  
      Whether the localization messages should automatically be reloaded (<oy N7NT  
      是否国际化信息自动加载 ?r2` Q  
LRG6:&  
struts.locale pW sDzb6?%  
      The default locale for the Struts application fG(SNNl+D  
      默认的国际化地区信息 T+K):u g  
P{+T< bk|  
struts.mapper.class 8j\cL'  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class )fSOi| |C  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 r|PB*`  
|:<f-j7t~  
struts.multipart.maxSize '9j="R;  
      The maximize size of a multipart request (file upload) mh[75(  
      multipart请求信息的最大尺寸(文件上传用) Gc;{\VU  
{_Rr 6  
struts.multipart.parser s^uS1  
      The org.apache.struts2.dispatcher.multipart. M |`U"vO  
      MultiPartRequest parser implementation for a multipart request (file upload) `LE6jp3,  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) //<nr\oP  
j*jo@N |  
}\:Nu Tf  
struts.multipart.saveDir G&V/Gj8  
      The directory to use for storing uploaded files )vb*Ef  
      设置存储上传文件的目录夹 > eIP.,9  
YCM]VDx4u1  
struts.objectFactory #c?j\Y9nz  
      The com.opensymphony.xwork2.ObjectFactory implementation class +sUFv)!4  
      com.opensymphony.xwork2.ObjectFactory接口(spring) * 8_wYYH  
bNNr]h8y-  
struts.objectFactory.spring.autoWire 4X |(5q?  
      Whether Spring should autoWire or not os={PQRD  
      是否自动绑定Spring  Qq;Foa  
CZI66pDy  
struts.objectFactory.spring.useClassCache %H&@^Tt a  
      Whether Spring should use its class cache or not m~d]a$KQ5-  
      是否spring应该使用自身的cache 1@1U/ss1  
=i*;VFc  
struts.objectTypeDeterminer 0dh aAq`k  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class usCt#eZK  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 4k_vdz  
.QJ5sgmh  
struts.serve.static.browserCache c~uKsU  
If static content served by the Struts filter should set browser caching header properties or not 4 f'V8|QM{  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ,+xB$e  
c>RFdc:U  
struts.serve.static F!Q@ u  
      Whether the Struts filter should serve static content or not  jQ  
      是否struts过滤器应该提供静态内容 CtAwBQO  
u5 : q$P  
struts.tag.altSyntax r^paD2&}  
      Whether to use the alterative syntax for the tags or not ~%=MpQ3  
      是否可以用替代的语法替代tags 5r8< 7g:>C  
lP@Ki5  
struts.ui.templateDir pd;br8yE$@  
      The directory containing UI templates (ECnM ti+  
      UI templates的目录夹 ^ xh;  
LNpup`>`  
struts.ui.theme 3ojlB|Z  
      The default UI template theme %<*g!y `  
      默认的UI template主题 1@R Db)<V  
d>fkA0G/9!  
struts.url.http.port R:k5QD9/&p  
      The HTTP port used by Struts URLs N@1+O,o  
      设置http端口 g/+C@_&m  
4^~(Mh-Mw  
struts.url.https.port DN~nk  
      The HTTPS port used by Struts URLs D\s WZ  
      设置https端口 tlqiXh<  
-~30)J=e`  
struts.url.includeParams NzSoqh{R  
      The default includeParams method to generate Struts URLs N<|Nwq:NN  
      在url中产生 默认的includeParams lWc:$qnR-K  
V7P&%oz{C  
au=o6WRa  
struts.velocity.configfile FUjl8b-|  
      The Velocity configuration file path W 7\f1}]H  
      velocity配置文件路径 }w<7.I  
*HO}~A%Lx  
struts.velocity.contexts CcFn.omA  
      List of Velocity context names 3.W@ }   
      velocity的context列表 X+S9{X#Cm  
O_ DtvjI'  
v` 7RCg`  
struts.velocity.manager.classname -[!P!d=  
      org.apache.struts2.views.velocity.VelocityManager implementation class *ikc]wQr$  
      org.apache.struts2.views.velocity.VelocityManager接口名 -~ Mb  
5Z\#0":e  
struts.velocity.toolboxlocation 80/F7q'tn  
      The location of the Velocity toolbox .#Z%1U%P.  
      velocity工具盒的位置 #9xd[A : N  
struts.xslt.nocache Rh{zH~oZ  
      Whether or not XSLT templates should not be cached 7-T{a<g  
      是否XSLT模版应该被缓存 % !>I*H  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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