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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ;8]HCC@:  
#/G!nN #  
struts.action.extension  Ng#psN  
      The URL extension to use to determine if the request is meant for a Struts action `^)`J  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 lx`?n<-X  
_^<vp  
struts.configuration Cd%5XD^  
      The org.apache.struts2.config.Configuration implementation class , 'pYR]3  
        org.apache.struts2.config.Configuration接口名 L ]')=J+  
bQaRl=:[:  
struts.configuration.files 6N@=*0kh-  
      A list of configuration files automatically loaded by Struts *l_a=[<[  
      struts自动加载的一个配置文件列表 '}hSh  
K?l|1jez(#  
struts.configuration.xml.reload gfL :SP8  
      Whether to reload the XML configuration or not ('z=/"(l  
      是否加载xml配置(true,false) o-<i+To%  
yhH2b:nY(9  
struts.continuations.package uX7L1~s-  
      The package containing actions that use Rife continuations c~T {;  
      含有actions的完整连续的package名称 :w^:Z$-hf  
Q7+WV`&  
struts.custom.i18n.resources KMhrw s{&B  
      Location of additional localization properties files to load 7ZUN;mr  
      加载附加的国际化属性文件(不包含.properties后缀) 0F$|`v"0  
nDrRK  
struts.custom.properties RZz?_1'  
      Location of additional configuration properties files to load Il =6t  
      加载附加的配置文件的位置 fG2)r  
>{^_]phlb  
+R~]5Rxd  
struts.devMode }u^bTR?3  
      Whether Struts is in development mode or not :DH@zR  
      是否为struts开发模式 `gl?y;xC  
!&U75FpN}:  
struts.dispatcher.parametersWorkaround  <$nPGz)}  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ]TrJ*~  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 30h[&Oc  
+k=*AQt^8  
struts.enable.DynamicMethodInvocation 8r( Vz  
      Allows one to disable dynamic method invocation from the URL lO@-*m$  
        允许动态方法调用 Vz mlKVE  
]y OM  
struts.freemarker.manager.classname r`"_D%kc  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 29Uqdo  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 h%j4(v}r{C  
BFNO yv  
struts.i18n.encoding B;bP~e>W  
      The encoding to use for localization messages 'M%iS4b{IM  
      国际化信息内码 }cz58%  
icG 9x  
struts.i18n.reload P}6#s'07~  
      Whether the localization messages should automatically be reloaded ZRhk2DA#FF  
      是否国际化信息自动加载 )=)N9CRy  
&^ERaPynd  
struts.locale jnV#Q ;  
      The default locale for the Struts application Gr({30"8  
      默认的国际化地区信息 Yyk~!G/@  
sD3Ts;k  
struts.mapper.class }Z <I%GT  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 1^k}GXsWmE  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 >D=X Tgqqq  
!+$qSD,%x  
struts.multipart.maxSize h x^@aI  
      The maximize size of a multipart request (file upload) i%yKyfD  
      multipart请求信息的最大尺寸(文件上传用) +HE,Q6-A  
Pr>$m{ Z  
struts.multipart.parser ( %sf wv  
      The org.apache.struts2.dispatcher.multipart. 1XS~b-St  
      MultiPartRequest parser implementation for a multipart request (file upload) MKtI 3vi?  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) $Y/z+ea  
2K~v`c*4  
XzAXcxC6G  
struts.multipart.saveDir pll5m7[  
      The directory to use for storing uploaded files Z{3=.z{&^=  
      设置存储上传文件的目录夹 55v=Ij?M  
TrDTay  
struts.objectFactory J#d,?  
      The com.opensymphony.xwork2.ObjectFactory implementation class 0,0WdJAe  
      com.opensymphony.xwork2.ObjectFactory接口(spring) y1`%3\  
T3b0"o27  
struts.objectFactory.spring.autoWire  3B#fnj  
      Whether Spring should autoWire or not 9Zx| L/\  
      是否自动绑定Spring *r>Y]VG;S  
1dr g5  
struts.objectFactory.spring.useClassCache bP:u`!p -i  
      Whether Spring should use its class cache or not q4:zr   
      是否spring应该使用自身的cache "4XjABJ4'  
~U<j_j)z4.  
struts.objectTypeDeterminer #cR5k@  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class aR6~r^jB  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ""`z3-  
qA}l[:F+#  
struts.serve.static.browserCache S*r }oX0  
If static content served by the Struts filter should set browser caching header properties or not dhLd2WSyH  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 tT`S" 9T  
aaVq>$G 3  
struts.serve.static .WglLUJ:Z  
      Whether the Struts filter should serve static content or not L <  
      是否struts过滤器应该提供静态内容 "P5,p"k:)  
.==c~>N  
struts.tag.altSyntax `~axOp9N  
      Whether to use the alterative syntax for the tags or not .9DhD=8aIO  
      是否可以用替代的语法替代tags , -])[u  
JNU9RxR  
struts.ui.templateDir u}'m7|)8  
      The directory containing UI templates d3oRan}z  
      UI templates的目录夹 JA >&$h  
*h?*RUQ  
struts.ui.theme BDp(&=ktq  
      The default UI template theme axG%@5  
      默认的UI template主题 NrcV%-+u%  
B <Jxj  
struts.url.http.port RCkmxO;b&  
      The HTTP port used by Struts URLs __z/X"H  
      设置http端口 }2=~7&)  
c7rC!v  
struts.url.https.port s]vsD77&  
      The HTTPS port used by Struts URLs &~"N/o  
      设置https端口 z'Bvjul  
p@$92> '  
struts.url.includeParams o/U}G,|G  
      The default includeParams method to generate Struts URLs MO]zf3f!  
      在url中产生 默认的includeParams fN`Prs A  
|r*y63\T  
~H ctXe'x  
struts.velocity.configfile Ow0~sFz  
      The Velocity configuration file path T+V:vuK  
      velocity配置文件路径 D<Z\6)|%I  
Lxa<zy~b  
struts.velocity.contexts RG1#\d-fE  
      List of Velocity context names sI)jqHZG  
      velocity的context列表 #;2kN &  
]<},[s  
lz).=N}m  
struts.velocity.manager.classname *E@as  
      org.apache.struts2.views.velocity.VelocityManager implementation class j97c@  
      org.apache.struts2.views.velocity.VelocityManager接口名 ylmVmHmc  
* se),CP!s  
struts.velocity.toolboxlocation ~@^pX*%i  
      The location of the Velocity toolbox Dhft[mvo  
      velocity工具盒的位置 2J(,Xf  
struts.xslt.nocache iA2TvP#  
      Whether or not XSLT templates should not be cached ]:6IW:  
      是否XSLT模版应该被缓存 Kt#X'!9/<  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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