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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ` ,SiA-3*  
+v=C@2T  
struts.action.extension ")d`dj\o  
      The URL extension to use to determine if the request is meant for a Struts action X5 j1`t,  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Djg,Lvhm  
Na:w]r:y  
struts.configuration ,7<f9 EVY  
      The org.apache.struts2.config.Configuration implementation class "'D=,*  
        org.apache.struts2.config.Configuration接口名 : |>Gc39`t  
+E{|63~q  
struts.configuration.files sBcPq SMby  
      A list of configuration files automatically loaded by Struts V4_=<W  
      struts自动加载的一个配置文件列表 P9T}S  
6I%5Q4Ll  
struts.configuration.xml.reload e)(wss+d7P  
      Whether to reload the XML configuration or not nDHTV !]<  
      是否加载xml配置(true,false) w@{=nD4p  
'FDef#P<  
struts.continuations.package =weSyZ1~  
      The package containing actions that use Rife continuations Uu`9 "  
      含有actions的完整连续的package名称 Mnscb  
zG(\+4GE!  
struts.custom.i18n.resources Q)IKOt;N]  
      Location of additional localization properties files to load  5~>z h  
      加载附加的国际化属性文件(不包含.properties后缀) ZzSz%z_sE  
Evedc*z~P  
struts.custom.properties 97}OL`y  
      Location of additional configuration properties files to load ZjF 4v  
      加载附加的配置文件的位置 oz,e/v8~  
s,]z[qB#$  
zx)z/1  
struts.devMode Y\No4w ^|d  
      Whether Struts is in development mode or not , GP?amh  
      是否为struts开发模式 k7T`bYv  
neLAEHV  
struts.dispatcher.parametersWorkaround >U[j]V]  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Eea*s'  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Dy:|g1>  
]@phF _  
struts.enable.DynamicMethodInvocation sG F aL  
      Allows one to disable dynamic method invocation from the URL _no*k?o *  
        允许动态方法调用 ?vbvBu{a  
?!` /m|"  
struts.freemarker.manager.classname 0@%v1Oja  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class R}!:'^  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 d'NIV9P`j]  
UWd=!h^dt  
struts.i18n.encoding ui/a|Q  
      The encoding to use for localization messages Jcrw#l8|C  
      国际化信息内码 bcE._9@@  
PamO8^!G  
struts.i18n.reload 67Th;h*sh  
      Whether the localization messages should automatically be reloaded OWg(#pZk  
      是否国际化信息自动加载 u)+8S/ )  
E? ; 0)'h  
struts.locale uFinv2Z '  
      The default locale for the Struts application |R/%D%_g  
      默认的国际化地区信息 `u&Rsz&^  
@U& QI*  
struts.mapper.class DK: o]~n  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class q1d}{DU  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 [J?aD`{#O  
F^];U+J  
struts.multipart.maxSize kY-N>E:  
      The maximize size of a multipart request (file upload) Z/Dx,zIR  
      multipart请求信息的最大尺寸(文件上传用) W *),y:  
<^5Z:n!q  
struts.multipart.parser t*1fLumXR  
      The org.apache.struts2.dispatcher.multipart. klT@cO-9  
      MultiPartRequest parser implementation for a multipart request (file upload) HMh"}I2n  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) l*d(;AR  
T?ZRiR)@  
GLeK'0Q@  
struts.multipart.saveDir f Sa"%8%  
      The directory to use for storing uploaded files "hH.#5j  
      设置存储上传文件的目录夹 l~w2B>i)  
3sy (vC  
struts.objectFactory ;;6uw\6 O  
      The com.opensymphony.xwork2.ObjectFactory implementation class V{/?FO?E  
      com.opensymphony.xwork2.ObjectFactory接口(spring) a%/9v"}  
$QLcH;+7t  
struts.objectFactory.spring.autoWire 8 Hg+H=?  
      Whether Spring should autoWire or not kuszb~`zPY  
      是否自动绑定Spring Oi8.8M  
gG(fQ 89U"  
struts.objectFactory.spring.useClassCache [\v}Ul  
      Whether Spring should use its class cache or not "Q@ronP(~  
      是否spring应该使用自身的cache -g*4(w  
^:^9l1]  
struts.objectTypeDeterminer eg;~zv  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class FQ<Ju.  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 [+n*~  
4.[^\N  
struts.serve.static.browserCache ,St#Vla  
If static content served by the Struts filter should set browser caching header properties or not &8Cu#^3  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 mwHB(7YS,  
^/I 7|u]  
struts.serve.static < $lCkSx<Q  
      Whether the Struts filter should serve static content or not YNKHN2E8  
      是否struts过滤器应该提供静态内容 K* LlW@  
yerg=,$_i  
struts.tag.altSyntax ,Z&xNBX  
      Whether to use the alterative syntax for the tags or not '"0'Oua  
      是否可以用替代的语法替代tags %)zodf  
r!_-"~`7E  
struts.ui.templateDir Ug>~Rq]  
      The directory containing UI templates `ZYoA t]C~  
      UI templates的目录夹 V5V bJBpf  
[+T.a t  
struts.ui.theme 4xjPiHd<  
      The default UI template theme ]%@M>?Ywc  
      默认的UI template主题 4i)1'{e  
fg_4zUGM+g  
struts.url.http.port .,<1%-R34q  
      The HTTP port used by Struts URLs J\twZ>w~0  
      设置http端口 ^c"jH'#.L  
'3 /4?wi  
struts.url.https.port O_oPh] x)  
      The HTTPS port used by Struts URLs "l3_=Gua  
      设置https端口 BC&S>#\  
N{9v1`B  
struts.url.includeParams gc_:%ki  
      The default includeParams method to generate Struts URLs Gp?a(-K5  
      在url中产生 默认的includeParams [B\h$IcRv  
o=1Uh,S3R  
B+P(M!m3  
struts.velocity.configfile V_ :1EBzz  
      The Velocity configuration file path 4;e5H_}Oo  
      velocity配置文件路径 p& y<I6a,  
/M1ob:m  
struts.velocity.contexts ;DqWh0  
      List of Velocity context names N.,X<G.H  
      velocity的context列表 `i3NG1 v0  
t3 8m'J :>  
BO~ 0ON0  
struts.velocity.manager.classname HVR /7&g  
      org.apache.struts2.views.velocity.VelocityManager implementation class ry`Ho8N  
      org.apache.struts2.views.velocity.VelocityManager接口名 x -WmMfcz&  
8]M;T>n[  
struts.velocity.toolboxlocation [kVS O  
      The location of the Velocity toolbox a!6{:8Zi0  
      velocity工具盒的位置 deBY5|  
struts.xslt.nocache q/4J.j L  
      Whether or not XSLT templates should not be cached 9UdM`v)(  
      是否XSLT模版应该被缓存 rK'L6o  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八