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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 Bx$?*y&f!v  
`GCK%evLG  
struts.action.extension ocUBSK|K)  
      The URL extension to use to determine if the request is meant for a Struts action D~M R)z_p~  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 T:|p[Xbo  
E:PPb9Kd  
struts.configuration OP-{76vE&b  
      The org.apache.struts2.config.Configuration implementation class \6"=`H0}  
        org.apache.struts2.config.Configuration接口名 eT(X Ri0  
Odhr=Hs  
struts.configuration.files _RZ"WA^[  
      A list of configuration files automatically loaded by Struts J}#2Wy^{  
      struts自动加载的一个配置文件列表 W5:fY>7  
,7k1n{C)  
struts.configuration.xml.reload aU[!*n 4Ux  
      Whether to reload the XML configuration or not rw gj]  
      是否加载xml配置(true,false) 8xh x*A  
EdSUBoWF}  
struts.continuations.package p T z]8[^  
      The package containing actions that use Rife continuations +qT+iHa|n  
      含有actions的完整连续的package名称 8$ #z>  
I,)\506  
struts.custom.i18n.resources MLmaA3  
      Location of additional localization properties files to load 5a)$:oO!  
      加载附加的国际化属性文件(不包含.properties后缀) se=^K#o  
sdyNJh7Jr  
struts.custom.properties u$(ei2f  
      Location of additional configuration properties files to load DUF$-'A  
      加载附加的配置文件的位置 UA ]fKi  
~3f|-%Z  
ji.?bKqHE  
struts.devMode EN}XIa>R  
      Whether Struts is in development mode or not ~82 {Y _{/  
      是否为struts开发模式 T34Z#PFwe  
oj)(.X<8N  
struts.dispatcher.parametersWorkaround @M'qi=s*  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic @v&s|X '  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) :$PrlE  
h.l.da1#  
struts.enable.DynamicMethodInvocation y c 8 h}`  
      Allows one to disable dynamic method invocation from the URL SB.=x  
        允许动态方法调用 }Ya! [tX  
]IeLKcn  
struts.freemarker.manager.classname gMkSl8[  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class UK*v\TMv  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 4*5e0:O  
WXDo`_{R  
struts.i18n.encoding "Ehh9 m1&  
      The encoding to use for localization messages KtH^k&z.f  
      国际化信息内码 zpeCT3Q5O  
d~h;|Bl[  
struts.i18n.reload pLV %g#h  
      Whether the localization messages should automatically be reloaded gG}H5uN  
      是否国际化信息自动加载 M7 k WJ  
ZU+_nWnl  
struts.locale p|dn&<kd  
      The default locale for the Struts application Hz==,NR-W  
      默认的国际化地区信息 #:/27  
,&o^}TFkg  
struts.mapper.class _G'A]O/BZD  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class x#zj0vI-8  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 A,=> |&*  
u GqeT#dP  
struts.multipart.maxSize /{R.   
      The maximize size of a multipart request (file upload) i1m>|[@k  
      multipart请求信息的最大尺寸(文件上传用) ^3H:I8gRCl  
|JHNFs  
struts.multipart.parser ,Oy$q~.  
      The org.apache.struts2.dispatcher.multipart. n~}[/ly  
      MultiPartRequest parser implementation for a multipart request (file upload) k)X\z@I'  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) $N;J)  
2 >j0,2  
YPNW%N!$|  
struts.multipart.saveDir p4UEhT  
      The directory to use for storing uploaded files e5n]@mu%  
      设置存储上传文件的目录夹 r)K5<[\r  
[?O4l`  
struts.objectFactory 1sonDBd0@;  
      The com.opensymphony.xwork2.ObjectFactory implementation class HIvSpO  
      com.opensymphony.xwork2.ObjectFactory接口(spring) u U>L (  
'gg <)Bd  
struts.objectFactory.spring.autoWire g`fMHU7  
      Whether Spring should autoWire or not ^~7Mv^A  
      是否自动绑定Spring :l1-s]  
fiD,HGx i  
struts.objectFactory.spring.useClassCache B$x@I\(M  
      Whether Spring should use its class cache or not S_OtY]gF  
      是否spring应该使用自身的cache BT_XqO  
*n7=m=%)  
struts.objectTypeDeterminer HX}B#T  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class /93z3o7D>  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 A*81}P_  
@o^$/AE?  
struts.serve.static.browserCache }HmkTk  
If static content served by the Struts filter should set browser caching header properties or not P3Lsfi.  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 CV\y60n  
o|c6=77043  
struts.serve.static vf+z0df  
      Whether the Struts filter should serve static content or not M"/Jn[  
      是否struts过滤器应该提供静态内容 jX(${j<  
\)wch P_0  
struts.tag.altSyntax WWZ<[[ >  
      Whether to use the alterative syntax for the tags or not  (FaYagD  
      是否可以用替代的语法替代tags =s]2?m  
q1x[hv3 pP  
struts.ui.templateDir ^,AE;Z T7  
      The directory containing UI templates Dc$q0|N=z  
      UI templates的目录夹 kD%MFT4  
y%61xA`#  
struts.ui.theme bu_@A^ys  
      The default UI template theme ^" 54Q^SH  
      默认的UI template主题 |uw48*t  
Fw{@RQf8  
struts.url.http.port V&vG.HAT  
      The HTTP port used by Struts URLs V\{@c%xW  
      设置http端口 M<*Tp^Y'  
bn8maYUZ  
struts.url.https.port |)Dm.)/0)  
      The HTTPS port used by Struts URLs !t"/w6X1I  
      设置https端口 "c]9Q%  
{k-_+#W"  
struts.url.includeParams <#nU 06 fN  
      The default includeParams method to generate Struts URLs hif;atO  
      在url中产生 默认的includeParams YlGUd~$`"+  
ort*Ux)  
CsycR@[  
struts.velocity.configfile ?YZgH>7"  
      The Velocity configuration file path q0Q[]|L  
      velocity配置文件路径 "RK"Pn+  
Mog [,{w  
struts.velocity.contexts C,W_0= !e  
      List of Velocity context names Zy;jp*Q  
      velocity的context列表 F+Qnf'at1  
e7{6<[k3+$  
3C%|src  
struts.velocity.manager.classname |9]-_a  
      org.apache.struts2.views.velocity.VelocityManager implementation class e@0|fB%2  
      org.apache.struts2.views.velocity.VelocityManager接口名 knG:6tQ  
Q[K$f%>  
struts.velocity.toolboxlocation 1+N'cB!y  
      The location of the Velocity toolbox ]GY8f3~|{  
      velocity工具盒的位置 8Nyz{T[  
struts.xslt.nocache 'iZwM>l\  
      Whether or not XSLT templates should not be cached R3lZ|rxv:  
      是否XSLT模版应该被缓存 JQ0Z%;"  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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