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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 )y(oHRCp->  
aXX,Zu^  
struts.action.extension hH#lTye  
      The URL extension to use to determine if the request is meant for a Struts action zaH 5 Km_j  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 $y8mK|3.3u  
3\,MsoAl  
struts.configuration E1#H{)G  
      The org.apache.struts2.config.Configuration implementation class l +|1G  
        org.apache.struts2.config.Configuration接口名 Rq"VB.ef&{  
[?A&xqO3  
struts.configuration.files  c^rC8E  
      A list of configuration files automatically loaded by Struts Ob7zu"zr  
      struts自动加载的一个配置文件列表 6BUBk>A`  
LFl2uV"  
struts.configuration.xml.reload >ze>Xr'm5=  
      Whether to reload the XML configuration or not d:A\<F  
      是否加载xml配置(true,false) 9*BoYFw92*  
;9}w|!/  
struts.continuations.package +8]W\<Kp  
      The package containing actions that use Rife continuations <_=JMA5  
      含有actions的完整连续的package名称 ,;9ak-$8p  
2=jd;2~  
struts.custom.i18n.resources sq6>DuBZz  
      Location of additional localization properties files to load o^8*aH)I>Y  
      加载附加的国际化属性文件(不包含.properties后缀) f$Gr`d  
C_6GOpl  
struts.custom.properties r;c' NqP  
      Location of additional configuration properties files to load Qk?jGXB>^  
      加载附加的配置文件的位置 lt }r}HM+  
u wH)$Pl  
J>><o:~@  
struts.devMode s4x'f$r  
      Whether Struts is in development mode or not 1R5Yn(  
      是否为struts开发模式 ll^Th >  
AmP#'U5  
struts.dispatcher.parametersWorkaround np<f,  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic OD{5m(JwL  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 1, m\Q_  
oxUE79  
struts.enable.DynamicMethodInvocation  ` 2Wl  
      Allows one to disable dynamic method invocation from the URL += X).X0K  
        允许动态方法调用 ^RYn8I  
l R:O k8e  
struts.freemarker.manager.classname b{Z^)u2X  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class NYWG#4D  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 pw0Px  
r~8D\_=s  
struts.i18n.encoding L4MxU 2  
      The encoding to use for localization messages < 8}KEe4  
      国际化信息内码 mgmWDtxN  
RY>)eGJ  
struts.i18n.reload ^</65+OT+  
      Whether the localization messages should automatically be reloaded 2z'+1+B'  
      是否国际化信息自动加载 Yh}zt H  
@N,:x\  
struts.locale v[0DE*p  
      The default locale for the Struts application G3Idxs  
      默认的国际化地区信息 j lYD~)  
0!9?H1>  
struts.mapper.class [5>S-Z  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class r]8wOu-'  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 =gxgS<bde  
6Cz7A  
struts.multipart.maxSize }"F ?H:\  
      The maximize size of a multipart request (file upload)  ioE66-n  
      multipart请求信息的最大尺寸(文件上传用) tebWj>+1c  
XNc"kp? z  
struts.multipart.parser \>*MMe  
      The org.apache.struts2.dispatcher.multipart. >yV)d/  
      MultiPartRequest parser implementation for a multipart request (file upload) nz,Mqol  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) .b =M5JsyV  
+-Z"H)  
F/Rng'l  
struts.multipart.saveDir y3 ({(URU  
      The directory to use for storing uploaded files c!'A)JD@  
      设置存储上传文件的目录夹 5~_eN  
viW~'}^k7  
struts.objectFactory ikEWY_1Y  
      The com.opensymphony.xwork2.ObjectFactory implementation class _&k'j)rg  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 1g~Dm}m  
4 7)+'`  
struts.objectFactory.spring.autoWire oso1uAOfp  
      Whether Spring should autoWire or not JcvHJ0X~a  
      是否自动绑定Spring J~_L4* Jw  
&&(4n?   
struts.objectFactory.spring.useClassCache )bB"12Z|8  
      Whether Spring should use its class cache or not EIq{C-(  
      是否spring应该使用自身的cache w0a+8gexi  
iQ]T+}nn_  
struts.objectTypeDeterminer |'V<>v.v  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 2ru*#Z#(  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 l>3M|js@/  
+z]:CF  
struts.serve.static.browserCache !(MA5L-  
If static content served by the Struts filter should set browser caching header properties or not EmtDrx4!(f  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 bqw/O`*wfN  
Bo](n*i  
struts.serve.static h/0<:eZ*  
      Whether the Struts filter should serve static content or not &y#\1K  
      是否struts过滤器应该提供静态内容 D-TNFYYy2  
Nt`F0 9S  
struts.tag.altSyntax E"9/YWv  
      Whether to use the alterative syntax for the tags or not LW83Y/7  
      是否可以用替代的语法替代tags  |0C|$2  
)V[w:=*  
struts.ui.templateDir d vg;  
      The directory containing UI templates p"hm.=,  
      UI templates的目录夹 OBKC$e6I  
Ak\D6eHcB  
struts.ui.theme b:}wR*Adc  
      The default UI template theme U(S@1i(  
      默认的UI template主题 /?.r!Cp  
h@PMCmf_  
struts.url.http.port HobGl0<y  
      The HTTP port used by Struts URLs h8iaJqqvJ  
      设置http端口 d+YVyw.z  
7(A G]  
struts.url.https.port vc>^.#7   
      The HTTPS port used by Struts URLs Mv7w5vTl  
      设置https端口 IEIxjek  
PK.h E{R  
struts.url.includeParams dN$D6*  
      The default includeParams method to generate Struts URLs 4t +/  
      在url中产生 默认的includeParams C)&gL=O*$  
GDo)6du  
;9!yh\\   
struts.velocity.configfile T(sG.%  
      The Velocity configuration file path Pq{YZMr  
      velocity配置文件路径 LhVLsa(-%  
0btmao-  
struts.velocity.contexts eSvc/CU  
      List of Velocity context names Q?Bj q>  
      velocity的context列表 WRLu 3nBx  
U'sVs2sk6  
~Me&cT8  
struts.velocity.manager.classname eBSn1n  
      org.apache.struts2.views.velocity.VelocityManager implementation class %CsTB0Y7n,  
      org.apache.struts2.views.velocity.VelocityManager接口名 8CnvvMf  
lvz:UWo  
struts.velocity.toolboxlocation \DcC1W  
      The location of the Velocity toolbox %b>y  
      velocity工具盒的位置 $E4O^0%/p  
struts.xslt.nocache 0-t4+T  
      Whether or not XSLT templates should not be cached L!+[]tB  
      是否XSLT模版应该被缓存 5EV8zf  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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