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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 s_76)7  
D$SO 6X~  
struts.action.extension >u=nGeO  
      The URL extension to use to determine if the request is meant for a Struts action 0!`!I0  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 CxVrnb[`q  
op|x~Thf  
struts.configuration LdyE*u_  
      The org.apache.struts2.config.Configuration implementation class x2+M0 }g  
        org.apache.struts2.config.Configuration接口名 < !]7Gt  
k)JwCt.%  
struts.configuration.files \>4x7mF!  
      A list of configuration files automatically loaded by Struts U6 H@l#  
      struts自动加载的一个配置文件列表 :#UN^"(m}  
<(Ktf0'__  
struts.configuration.xml.reload r'u[>uY  
      Whether to reload the XML configuration or not \K(# r=  
      是否加载xml配置(true,false) ]BBjFs4#  
DJHE6XJ   
struts.continuations.package RQ[6svfP  
      The package containing actions that use Rife continuations 8wA'a'V.  
      含有actions的完整连续的package名称 #NWc<Dd  
r;8$ 7C.  
struts.custom.i18n.resources <(caY37o6)  
      Location of additional localization properties files to load q.PXO3T  
      加载附加的国际化属性文件(不包含.properties后缀) ~kPZh1n`  
1PT0<C-  
struts.custom.properties NGb\e5?  
      Location of additional configuration properties files to load S|ADu]H(  
      加载附加的配置文件的位置 -Tr*G4  
sxQMfbN  
z=VL|Du1OT  
struts.devMode y&+Sp/6BYA  
      Whether Struts is in development mode or not Sc&p*G  
      是否为struts开发模式 @0q*50  
8BwJWxBQ  
struts.dispatcher.parametersWorkaround (Y]G6> Oa  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic }4"T# [n#  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) rfxLCiV  
XxE>KeP  
struts.enable.DynamicMethodInvocation 6B>H75S+H  
      Allows one to disable dynamic method invocation from the URL #me'1/z  
        允许动态方法调用 _M7NL^B&  
`?:X-dh_  
struts.freemarker.manager.classname d512Y[ R  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Tof H =d  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 "+J[7p}`@  
bO?Us  
struts.i18n.encoding j#E&u*IR  
      The encoding to use for localization messages ' fP`ET5  
      国际化信息内码 >vY5%%}  
S4BU!  
struts.i18n.reload F^|4nBd*ub  
      Whether the localization messages should automatically be reloaded t.WWahNyY  
      是否国际化信息自动加载 DnW*q/=w  
Qcr-|?5L  
struts.locale @.h|T)Zyr  
      The default locale for the Struts application tB7g.)yZb  
      默认的国际化地区信息 seo.1.Da2  
VVyms7 VN  
struts.mapper.class )YP 9  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class |*WE@L5  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 &%4*~;o  
9n[ovX 7n!  
struts.multipart.maxSize 1 ojy_  
      The maximize size of a multipart request (file upload) L@HWm;aN  
      multipart请求信息的最大尺寸(文件上传用) )w++cC4/5  
!q_fcd^c  
struts.multipart.parser A[O'e  
      The org.apache.struts2.dispatcher.multipart. D#G(&<Q  
      MultiPartRequest parser implementation for a multipart request (file upload) ESAFsJ$r;  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) h^$ c  
K-b'jP\  
5?n@.hcL  
struts.multipart.saveDir x<%V&<z1g  
      The directory to use for storing uploaded files  9> k-";  
      设置存储上传文件的目录夹 MKN],l N  
\6U$kMGde  
struts.objectFactory &p2fMVWJ7  
      The com.opensymphony.xwork2.ObjectFactory implementation class +kK6G#c  
      com.opensymphony.xwork2.ObjectFactory接口(spring) c={bunnz#  
oH|<(8efD  
struts.objectFactory.spring.autoWire <>FpvdB  
      Whether Spring should autoWire or not =whYo?cE(  
      是否自动绑定Spring ]TmxCTVL  
9G@ J#vsqr  
struts.objectFactory.spring.useClassCache T[YGQT|B  
      Whether Spring should use its class cache or not rpu{YC1C%  
      是否spring应该使用自身的cache u`2[V4=L  
3'zm)SXJ  
struts.objectTypeDeterminer 4/tp-dBip  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class M@/Hd0$  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 `Mxi2Y{vp  
Y([YDn  
struts.serve.static.browserCache Uj[E_4h  
If static content served by the Struts filter should set browser caching header properties or not ZRd,V~iz  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ,y5 7tY  
\)Bws `  
struts.serve.static (7qdrAeP  
      Whether the Struts filter should serve static content or not GDW$R`2  
      是否struts过滤器应该提供静态内容 GrB+Y!{{  
g}B|ZRz+{  
struts.tag.altSyntax  :nHa-N3  
      Whether to use the alterative syntax for the tags or not I;<aJo6Yl  
      是否可以用替代的语法替代tags *N;# _0)/  
%fyah}=  
struts.ui.templateDir ]8qFxJ+2^  
      The directory containing UI templates 7O,y%NWaK  
      UI templates的目录夹 yLI)bn!"  
JP t=~e(  
struts.ui.theme VHlN;6Qlff  
      The default UI template theme =V@5W[bV  
      默认的UI template主题 H^c8r^#  
;L gxL Qy;  
struts.url.http.port d/k70Ybk  
      The HTTP port used by Struts URLs MyyNYZ  
      设置http端口 f2JeXsOI  
!Cpy )D(  
struts.url.https.port /*+P}__k  
      The HTTPS port used by Struts URLs vncak  
      设置https端口 M%evk4_27  
V u/{Hr  
struts.url.includeParams s5DEuu>g  
      The default includeParams method to generate Struts URLs s 9Y'MQo*  
      在url中产生 默认的includeParams NRM=0-16u$  
^rmcyy8;g  
FSs<A@  
struts.velocity.configfile Y'YvVI  
      The Velocity configuration file path (W~')A"hC'  
      velocity配置文件路径 7ktSj}7W]  
]}wo$7pO  
struts.velocity.contexts K|q5s]4I  
      List of Velocity context names P,|%7'?Y  
      velocity的context列表 e-Xr^@M*Q  
SpM|b5c5  
xIN&>D'|N  
struts.velocity.manager.classname V6:S<A  
      org.apache.struts2.views.velocity.VelocityManager implementation class ,[ UqUEO  
      org.apache.struts2.views.velocity.VelocityManager接口名 O M]d}}=Y  
g9A8b(>F&@  
struts.velocity.toolboxlocation [IF5Iv\b  
      The location of the Velocity toolbox R|jt mI?  
      velocity工具盒的位置 ]Kutuf$t  
struts.xslt.nocache |L@&plyB-  
      Whether or not XSLT templates should not be cached o_.f7|U!  
      是否XSLT模版应该被缓存 % Rv ;e  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
10+5=?,请输入中文答案:十五