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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 (d2|r)O  
;>d uY\$<  
struts.action.extension g:sn/Zug]  
      The URL extension to use to determine if the request is meant for a Struts action tuF hPqe {  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 D L0i  
v9qgfdBS5  
struts.configuration xF4>D!T%8  
      The org.apache.struts2.config.Configuration implementation class &eHhj9  
        org.apache.struts2.config.Configuration接口名 ~Yw`w 2  
Mr3;B+S  
struts.configuration.files "+6:vhP5  
      A list of configuration files automatically loaded by Struts 8 ;C_@  
      struts自动加载的一个配置文件列表 feH|sz`e  
Gz9w1[t  
struts.configuration.xml.reload Uz`K#Bz   
      Whether to reload the XML configuration or not %ur_DQ  
      是否加载xml配置(true,false) Uczb"k5  
D~i m1h;>  
struts.continuations.package [8o!X)  
      The package containing actions that use Rife continuations xA-u%Vf7@  
      含有actions的完整连续的package名称 kt ILKpHt"  
eKq`t.*Ft  
struts.custom.i18n.resources :q xd])-  
      Location of additional localization properties files to load K38A;=t9  
      加载附加的国际化属性文件(不包含.properties后缀) q@}eYQ=P|e  
]}~[2k.  
struts.custom.properties ;;2Yfn'`9  
      Location of additional configuration properties files to load .9<  i  
      加载附加的配置文件的位置 i8\&J.  
_djr>C=H"  
&{Zt(%\ '  
struts.devMode wap@q6fz<  
      Whether Struts is in development mode or not MMZdF{5@G  
      是否为struts开发模式 'ow`ej  
S-^RZ"  
struts.dispatcher.parametersWorkaround e*7nq ~ B5  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic yH'vhtop  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) )Bl0 W  
@C]Q;>^|  
struts.enable.DynamicMethodInvocation }w0>mA0=H  
      Allows one to disable dynamic method invocation from the URL <F=U(WWn9  
        允许动态方法调用 ZZ<uiN$  
aP%2CP~_P  
struts.freemarker.manager.classname $rAHtr  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class )jh4HMvmC  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 '8Q:}{  
aIrQ=}  
struts.i18n.encoding 'Y ZYRFWXM  
      The encoding to use for localization messages \a|Fh hI  
      国际化信息内码 (QPfrR=J4  
;^q@w  
struts.i18n.reload u*I=.  
      Whether the localization messages should automatically be reloaded yA8e"$  
      是否国际化信息自动加载 (8(7:aE $  
1^*M*>&d<  
struts.locale _%M5 T  
      The default locale for the Struts application @A_bZQ@  
      默认的国际化地区信息 1ke H1[  
w"Q6'/P  
struts.mapper.class U;Iqz1S  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class v&hQ;v  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 tSr.0'CE  
{9tKq--@E9  
struts.multipart.maxSize `CW I%V  
      The maximize size of a multipart request (file upload) Op&i6V}<s  
      multipart请求信息的最大尺寸(文件上传用) xQ[~ c1  
N3D{t\hg  
struts.multipart.parser (vq0Gl  
      The org.apache.struts2.dispatcher.multipart. As$:V<Z  
      MultiPartRequest parser implementation for a multipart request (file upload) 2yu\f u  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) EJM6TI"  
r#ISIgJXG  
3D)gy9T&l  
struts.multipart.saveDir VJK?"mX  
      The directory to use for storing uploaded files u&q RK>wLa  
      设置存储上传文件的目录夹 wABaNB=9;  
v"y0D  
struts.objectFactory I<v1S  
      The com.opensymphony.xwork2.ObjectFactory implementation class y4%u< /  
      com.opensymphony.xwork2.ObjectFactory接口(spring) (;f7/2~`  
?-40bb  
struts.objectFactory.spring.autoWire =Kq/E De  
      Whether Spring should autoWire or not F/MzrK\':m  
      是否自动绑定Spring RoV^sbWFt  
3#{{+5G  
struts.objectFactory.spring.useClassCache y\=(;]S'  
      Whether Spring should use its class cache or not lzJ[`i.  
      是否spring应该使用自身的cache _0~WT  
>k:BG{$Kae  
struts.objectTypeDeterminer qb^jcy  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class <M(Jqb cWa  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 K4]42#  
hxIG0d!o  
struts.serve.static.browserCache .T*K4m{b0  
If static content served by the Struts filter should set browser caching header properties or not tY?_#rc  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 r:[N#*kK  
+ 9vd(c  
struts.serve.static .~ )[>  
      Whether the Struts filter should serve static content or not _cz&f%qr  
      是否struts过滤器应该提供静态内容 c$X0C&m  
%9D$N  
struts.tag.altSyntax ``%uq)G=D  
      Whether to use the alterative syntax for the tags or not 5|&:l8=  
      是否可以用替代的语法替代tags ]_cBd)3P}  
OYcf+p"<\  
struts.ui.templateDir "`b"PQ<x  
      The directory containing UI templates fZoV\a6Kj  
      UI templates的目录夹 U}H2!et&,)  
1!u}~E_   
struts.ui.theme ( K5w0  
      The default UI template theme e-$ U .cx  
      默认的UI template主题 Vb${Oy+  
3j{VpacZY  
struts.url.http.port d3A= (/>D  
      The HTTP port used by Struts URLs 6`sOhVD  
      设置http端口 W$&kOdD!$  
;aZ$qgN*Y  
struts.url.https.port R<}WNZl  
      The HTTPS port used by Struts URLs h @{U>U7  
      设置https端口 /:]`TlAb,  
]=2wQ8  
struts.url.includeParams j@4 yRl ^  
      The default includeParams method to generate Struts URLs Yg 8AMi  
      在url中产生 默认的includeParams UjmBLXz@T  
v 4@=>L  
@Y/PvS8!  
struts.velocity.configfile b9M.p*!  
      The Velocity configuration file path K".\QF,:  
      velocity配置文件路径 [Z2:3*5r.  
ML6V,V/e  
struts.velocity.contexts DNsDEU  
      List of Velocity context names Yjv[rH5v  
      velocity的context列表 I }AO_rtb  
~#X,)L{y7v  
->DfT*)  
struts.velocity.manager.classname = > .EDL.  
      org.apache.struts2.views.velocity.VelocityManager implementation class OrX x0Hn  
      org.apache.struts2.views.velocity.VelocityManager接口名 ld~8g,  
=^. f)  
struts.velocity.toolboxlocation ~z)diF<  
      The location of the Velocity toolbox kyQUaFG  
      velocity工具盒的位置 !^Mk5E(  
struts.xslt.nocache 3 y!yz3E  
      Whether or not XSLT templates should not be cached M8Y\1#~  
      是否XSLT模版应该被缓存 "0pH@_8o{  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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