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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ^rjUye%EK  
/<k 5"C% z  
struts.action.extension  _X=6M gU  
      The URL extension to use to determine if the request is meant for a Struts action :kwDa a  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 .J+F H G'  
kFyp;=d:K  
struts.configuration Nvh& =%{g  
      The org.apache.struts2.config.Configuration implementation class >w.%KVBJ  
        org.apache.struts2.config.Configuration接口名 Z6Kp-z(l3  
@B(E&  
struts.configuration.files L?&&4%%  
      A list of configuration files automatically loaded by Struts L=C#E0{i  
      struts自动加载的一个配置文件列表 9v3n4=gc  
7kT X  
struts.configuration.xml.reload tuuwoiQ*`  
      Whether to reload the XML configuration or not y; <}`  
      是否加载xml配置(true,false) '<1Cta`  
Zp<#( OIu  
struts.continuations.package Q0x?OL]A  
      The package containing actions that use Rife continuations tw\1&*:  
      含有actions的完整连续的package名称 >NV1#\5_R@  
oEFo7X`t  
struts.custom.i18n.resources .ns=jp  
      Location of additional localization properties files to load B8.}9  
      加载附加的国际化属性文件(不包含.properties后缀) a+a6P5kJ  
co^h2b  
struts.custom.properties zzW$F)X  
      Location of additional configuration properties files to load aU[!*n 4Ux  
      加载附加的配置文件的位置 =]pEvj9o  
=9 ^}>u  
QF*cdc<  
struts.devMode Zt=P 0  
      Whether Struts is in development mode or not y+{)4ptg$<  
      是否为struts开发模式 EdSUBoWF}  
qZ@d:u  
struts.dispatcher.parametersWorkaround mieyL9*n7  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic hJir_=  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) #qD[dC$[t  
]\L+]+u~  
struts.enable.DynamicMethodInvocation gm!sLZ!X  
      Allows one to disable dynamic method invocation from the URL elpTak@  
        允许动态方法调用 +Kg }R5+  
KMQPA>w#  
struts.freemarker.manager.classname eL}X().  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Q |S>C%4?  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 .P?n<n#  
2Yd@ V}  
struts.i18n.encoding k"/Rjd(;  
      The encoding to use for localization messages 9e vQQN6D|  
      国际化信息内码 [fo#){3K  
3MKu!  
struts.i18n.reload *n[B Bz  
      Whether the localization messages should automatically be reloaded 7^LCP*  
      是否国际化信息自动加载 <X1 lq9 lW  
_p'@.P  
struts.locale $\~cWpv  
      The default locale for the Struts application Y3(I;~$!  
      默认的国际化地区信息 yaWY>sB  
7-~)/7L  
struts.mapper.class *">CEQ[MT  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 9d(#/n  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 C+5X8  
Fr; 's(^   
struts.multipart.maxSize ZW0\_1  
      The maximize size of a multipart request (file upload) V7p hD3Y  
      multipart请求信息的最大尺寸(文件上传用) IXR'JZ?fH  
'RzO`-dr  
struts.multipart.parser u=vBjaN2_w  
      The org.apache.struts2.dispatcher.multipart. gG}H5uN  
      MultiPartRequest parser implementation for a multipart request (file upload) M7 k WJ  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) a) P r&9I  
Hz==,NR-W  
#:/27  
struts.multipart.saveDir FH$q,BI!R  
      The directory to use for storing uploaded files _G'A]O/BZD  
      设置存储上传文件的目录夹 x#zj0vI-8  
c14d0x{  
struts.objectFactory u GqeT#dP  
      The com.opensymphony.xwork2.ObjectFactory implementation class /{R.   
      com.opensymphony.xwork2.ObjectFactory接口(spring) #M+_Lk3  
^3H:I8gRCl  
struts.objectFactory.spring.autoWire |JHNFs  
      Whether Spring should autoWire or not T{"Ur :p  
      是否自动绑定Spring n~}[/ly  
k)X\z@I'  
struts.objectFactory.spring.useClassCache W3\E; C-g0  
      Whether Spring should use its class cache or not -o{ x ;:4  
      是否spring应该使用自身的cache n"D` =  
[m 6+I9  
struts.objectTypeDeterminer fqq4Qc)#U&  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class m.! M#x2!  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 t,*1=S5  
5 ;XYF0  
struts.serve.static.browserCache UwF-*(#41  
If static content served by the Struts filter should set browser caching header properties or not OJJ [Er1  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 H{S+^'5Y.  
]*lZFP~  
struts.serve.static [6_.Y*}N  
      Whether the Struts filter should serve static content or not Md~._@`|K  
      是否struts过滤器应该提供静态内容 Yh fQ pe  
[{)Z^  
struts.tag.altSyntax -qHG*v,  
      Whether to use the alterative syntax for the tags or not j6XHH&ZEb  
      是否可以用替代的语法替代tags m.1-[2{8~  
X#ud5h  
struts.ui.templateDir ,r]H+vWS  
      The directory containing UI templates -38"S;M8  
      UI templates的目录夹 )cZHBG.0H  
8TP~=qU  
struts.ui.theme '` 2MxRP  
      The default UI template theme vD?D]8.F~Q  
      默认的UI template主题 W83PMiN"T-  
z/f._Z(  
struts.url.http.port V@b7$z  
      The HTTP port used by Struts URLs [[6" qq  
      设置http端口 A|:+c*7]  
vq+CW?*"  
struts.url.https.port  (FaYagD  
      The HTTPS port used by Struts URLs =s]2?m  
      设置https端口 q1x[hv3 pP  
G e]NA]<  
struts.url.includeParams )z18:C3  
      The default includeParams method to generate Struts URLs @U1|?~M%s  
      在url中产生 默认的includeParams gW--[  
>wt.)c?5  
$;Iz7:#jN  
struts.velocity.configfile H.' 9]*  
      The Velocity configuration file path C7*YZe  
      velocity配置文件路径 ?E|=eO"I1  
_5~|z$GW  
struts.velocity.contexts K@g ~  
      List of Velocity context names ZeU){CB  
      velocity的context列表 5p S$rf  
ecoI-@CAI  
T#E$sZ  
struts.velocity.manager.classname @fp@1n  
      org.apache.struts2.views.velocity.VelocityManager implementation class v~T)g"_|  
      org.apache.struts2.views.velocity.VelocityManager接口名 i$@xb_  
yI#qkl-  
struts.velocity.toolboxlocation jl(D;JnF  
      The location of the Velocity toolbox Tj_K5uccU}  
      velocity工具盒的位置 8]`s&d@GY  
struts.xslt.nocache YlGUd~$`"+  
      Whether or not XSLT templates should not be cached yUpN`;  
      是否XSLT模版应该被缓存 CsycR@[  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八