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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 3ZUME\U  
Lvd es.0|  
struts.action.extension cXod43  
      The URL extension to use to determine if the request is meant for a Struts action \)`OEGdOR\  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ko{7^]gR  
U[EZ, 7n8  
struts.configuration 6m%#cP (6K  
      The org.apache.struts2.config.Configuration implementation class YN}vAFR`  
        org.apache.struts2.config.Configuration接口名 S7 !;Z@  
NH'Dz6K5  
struts.configuration.files :i9=Wj  
      A list of configuration files automatically loaded by Struts H!P$p-*.  
      struts自动加载的一个配置文件列表 ?>s[B7wMp  
SceK$  
struts.configuration.xml.reload b[KZJLZ)  
      Whether to reload the XML configuration or not ^_gH}~l+U  
      是否加载xml配置(true,false) e);`hNLih  
4G2iT+X-  
struts.continuations.package "IN[(  
      The package containing actions that use Rife continuations .+(R,SvN%<  
      含有actions的完整连续的package名称 %k'>bmJ  
<&RpGAk%I  
struts.custom.i18n.resources %jJ|4\  
      Location of additional localization properties files to load $a'}7Q_  
      加载附加的国际化属性文件(不包含.properties后缀) RJ1 @ a  
IOT-R!.5V  
struts.custom.properties 4$+1&+@ ]  
      Location of additional configuration properties files to load Qo~|[]GE  
      加载附加的配置文件的位置 J'C9}7G  
Ge7Uety  
Nsn~mY%  
struts.devMode H <9_BA?  
      Whether Struts is in development mode or not H~ E<ek'~  
      是否为struts开发模式 %<0'xJ%%Q  
[\3W_jR  
struts.dispatcher.parametersWorkaround q ;"/i*+3  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 7epil  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) t0_4jV t  
3 <)+)n  
struts.enable.DynamicMethodInvocation Z 4QL&?U  
      Allows one to disable dynamic method invocation from the URL Ao+6^z_  
        允许动态方法调用 R} X"di  
`a `>Mtl  
struts.freemarker.manager.classname yV*jc`1  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ;,/4Ry22j-  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 0^vz /y1c  
5.$/]2VK  
struts.i18n.encoding @jCMQYR  
      The encoding to use for localization messages %xrldn%  
      国际化信息内码 !bs5w_@  
mw&'@M_(7  
struts.i18n.reload {T-=&%||  
      Whether the localization messages should automatically be reloaded B$M4f7  
      是否国际化信息自动加载 6UI6E)g  
A0,h 7<i  
struts.locale $0R5 ]]db)  
      The default locale for the Struts application y$+=>p|d.^  
      默认的国际化地区信息 a+RUSz;DL  
jO-T1P']Y  
struts.mapper.class @ZRg9M:N  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class gBr /Y}I  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 1~Z   
,BFw-A  
struts.multipart.maxSize xX|f{)<  
      The maximize size of a multipart request (file upload) =QK ucLo  
      multipart请求信息的最大尺寸(文件上传用) +Sc2'z>R  
^5Zka!'X2Z  
struts.multipart.parser . '>d7  
      The org.apache.struts2.dispatcher.multipart. +%H=+fJ2}  
      MultiPartRequest parser implementation for a multipart request (file upload) x_t$*  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ^ WF_IH&  
 W_6gV  
%l,CJd5  
struts.multipart.saveDir $xCJ5M4  
      The directory to use for storing uploaded files *{,}pK2*  
      设置存储上传文件的目录夹 8DX5bB  
7 0PGbAD  
struts.objectFactory +/ {lz8^,  
      The com.opensymphony.xwork2.ObjectFactory implementation class <0;G4fE7[H  
      com.opensymphony.xwork2.ObjectFactory接口(spring) d3\KUR^  
;l^'g}dQ^  
struts.objectFactory.spring.autoWire 4V c``Um  
      Whether Spring should autoWire or not hBaF^AWW  
      是否自动绑定Spring j\"d/{7Q  
Lr 9E02  
struts.objectFactory.spring.useClassCache jGoQXiX  
      Whether Spring should use its class cache or not \x:} |   
      是否spring应该使用自身的cache l$[,V:N  
1]9l SE!E7  
struts.objectTypeDeterminer -oTdi0P  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class p2U6B  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 "[-W(=  
*pDS%,$xe  
struts.serve.static.browserCache p( )LQT!  
If static content served by the Struts filter should set browser caching header properties or not X"vDFE`?  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 I:w+lchAMe  
1_TniR3z1  
struts.serve.static n a*Z0y  
      Whether the Struts filter should serve static content or not \TYVAt] ?  
      是否struts过滤器应该提供静态内容 6v74mIRn'?  
2I|lY>Z  
struts.tag.altSyntax v}id/brl  
      Whether to use the alterative syntax for the tags or not 97 ,Yq3  
      是否可以用替代的语法替代tags u1gD*4+  
@-Y,9mM   
struts.ui.templateDir M2;6Cz>,P  
      The directory containing UI templates ]"^ p}:  
      UI templates的目录夹 xs )jO+.  
R#i`H(N  
struts.ui.theme _Fn`G .r<  
      The default UI template theme ZvLI~ul(zT  
      默认的UI template主题 'v@*xF/L6a  
@=%g{  
struts.url.http.port `4?|yp.|L  
      The HTTP port used by Struts URLs ty:{e]e  
      设置http端口 =f23lA  
kGL3*x  
struts.url.https.port 'MW O3  
      The HTTPS port used by Struts URLs |tU wlc>  
      设置https端口 w+Gav4  
2R ^6L@fw  
struts.url.includeParams 0|i|z !N>  
      The default includeParams method to generate Struts URLs _T7XCXEk   
      在url中产生 默认的includeParams [:}"MdU'  
UkXa mGoy3  
%eh.@8GL`  
struts.velocity.configfile ]826kpq_  
      The Velocity configuration file path y2mSPLw  
      velocity配置文件路径 F>5b[q6~4  
52NI{"  
struts.velocity.contexts J qmL|S)  
      List of Velocity context names m=Gb<)Y  
      velocity的context列表 ;Wa&Dg/5`  
Jl6lZd(Np  
x <OVtAUB  
struts.velocity.manager.classname ^w&!}f+  
      org.apache.struts2.views.velocity.VelocityManager implementation class ;)SWwhQ  
      org.apache.struts2.views.velocity.VelocityManager接口名 Bj"fUI!dK  
:6Tv4ZUvcG  
struts.velocity.toolboxlocation &;`E3$>  
      The location of the Velocity toolbox o q6^  
      velocity工具盒的位置 4)>S3Yr  
struts.xslt.nocache xJnN95`R@  
      Whether or not XSLT templates should not be cached ;.rY`<|  
      是否XSLT模版应该被缓存 JStEOQF4  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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