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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 5S/>l_od$2  
G_oX5:J*  
struts.action.extension $fArk36O#  
      The URL extension to use to determine if the request is meant for a Struts action |uha 38~  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 *Jnh";~b  
Md(JIlh3  
struts.configuration q&M:17+:Q  
      The org.apache.struts2.config.Configuration implementation class 2tr :xi@  
        org.apache.struts2.config.Configuration接口名 9\51Z:>  
J6|JWp  
struts.configuration.files qMgfMhQ7DU  
      A list of configuration files automatically loaded by Struts hN4VlNKu  
      struts自动加载的一个配置文件列表 &zN@5m$k;  
#MTj)P,  
struts.configuration.xml.reload 5}<[[}(  
      Whether to reload the XML configuration or not %<U{K;  
      是否加载xml配置(true,false) .Vx|'-u  
$^vP<  
struts.continuations.package ;e;\q;GP  
      The package containing actions that use Rife continuations >_Uj?F:  
      含有actions的完整连续的package名称 }z'DWp=uN  
Tx+ p8J|Yr  
struts.custom.i18n.resources 4: sl(r  
      Location of additional localization properties files to load { vfq  
      加载附加的国际化属性文件(不包含.properties后缀) (L#%!bd  
huAyjo  
struts.custom.properties \y*j4 0  
      Location of additional configuration properties files to load Y$8; Gm<)  
      加载附加的配置文件的位置 N~g%wf@w  
?:}Pa<D&K  
SMq9j,k  
struts.devMode /_OOPt=G  
      Whether Struts is in development mode or not Zd<[=%d  
      是否为struts开发模式 R#0{Wg0O)  
W(k:Pl#  
struts.dispatcher.parametersWorkaround k/#M<z  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic aW`dFitpM  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) :o\5K2]:  
B T7Id  
struts.enable.DynamicMethodInvocation +Jw{qQR/*  
      Allows one to disable dynamic method invocation from the URL i| xt f  
        允许动态方法调用 aF])"9  
6GOg_P  
struts.freemarker.manager.classname ;:_(7|  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class wW()Zy0)  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 t-lv|%+8  
:Y.e[@!1x  
struts.i18n.encoding vXubY@k2  
      The encoding to use for localization messages 1l]C5P}E  
      国际化信息内码 jaqV[*440U  
 4Iq5+Q  
struts.i18n.reload 4g!7 4a  
      Whether the localization messages should automatically be reloaded F!R2_89iy  
      是否国际化信息自动加载 n#>5?W  
`cO|RhD @  
struts.locale *aG"+c6|  
      The default locale for the Struts application *:#Z+7x ]  
      默认的国际化地区信息 Qu}N:P9l?X  
h2&y<Eg>  
struts.mapper.class Vi,Y@+4  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class "UpOY  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ,eK2I Ao  
T&4fBMBp,%  
struts.multipart.maxSize j)Lo'&Y~=  
      The maximize size of a multipart request (file upload)  QT_^M1%  
      multipart请求信息的最大尺寸(文件上传用) )d_U)b7i  
w -dI<s  
struts.multipart.parser [|z'"Gk{  
      The org.apache.struts2.dispatcher.multipart. WgZ@N  
      MultiPartRequest parser implementation for a multipart request (file upload) \P@S"QO  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) pE(sV{PD  
_Y7:!-n}   
x:C@)CAr  
struts.multipart.saveDir 'RQiLUF  
      The directory to use for storing uploaded files Loc8eToZ  
      设置存储上传文件的目录夹 !=knppY  
@SQceQfB  
struts.objectFactory u7u~  
      The com.opensymphony.xwork2.ObjectFactory implementation class <)J55++  
      com.opensymphony.xwork2.ObjectFactory接口(spring) P,`=]Y*  
hG~Uz   
struts.objectFactory.spring.autoWire +Wd L  
      Whether Spring should autoWire or not (-'PD_|  
      是否自动绑定Spring /xf.\Z7<  
U TS{H  
struts.objectFactory.spring.useClassCache 85 Dm8~  
      Whether Spring should use its class cache or not D{3fhPNU<b  
      是否spring应该使用自身的cache P|v ?  
%\l0-RA@<  
struts.objectTypeDeterminer &&*wmnWCS{  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class [[$Mh_MD  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Y)v%  
Hq-v@@0 *  
struts.serve.static.browserCache i2U/RXu  
If static content served by the Struts filter should set browser caching header properties or not hvL6zCi  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 `{WCrw6)  
1V\1]J/  
struts.serve.static N&,"kRFFo  
      Whether the Struts filter should serve static content or not {~"Em'}J  
      是否struts过滤器应该提供静态内容 YiO3<}Uf  
ZgK@Fl*k  
struts.tag.altSyntax tB !|p6  
      Whether to use the alterative syntax for the tags or not G-s a L*  
      是否可以用替代的语法替代tags cY^Y!.,  
%WmZ ]@M  
struts.ui.templateDir s1v{~xP  
      The directory containing UI templates Qv74?B@  
      UI templates的目录夹 | 4%v"U  
>LCjtm\  
struts.ui.theme ]svw CPu C  
      The default UI template theme zM)M_L  
      默认的UI template主题 I>!|3ElT  
vo.EM1x  
struts.url.http.port hOV_Oqe4?  
      The HTTP port used by Struts URLs eNivlJ,K|@  
      设置http端口 <%(f9j  
ELD +:b  
struts.url.https.port P0Aas)!  
      The HTTPS port used by Struts URLs 83X/"2-K  
      设置https端口 ,qYf#fU#7  
={OCa1  
struts.url.includeParams z^"?sd  
      The default includeParams method to generate Struts URLs $/os{tzjd  
      在url中产生 默认的includeParams &9k"9  
m/cx|b3hqv  
l; */M.B  
struts.velocity.configfile B piEAwh  
      The Velocity configuration file path MR[N6E6Mg  
      velocity配置文件路径 3!1&DII4  
x vHOY:  
struts.velocity.contexts ;\1b{-' l  
      List of Velocity context names 5,Qy/t}K  
      velocity的context列表 9B& }7kk  
>&g2 IvDS  
0;'j!`l9  
struts.velocity.manager.classname  hgNY[,  
      org.apache.struts2.views.velocity.VelocityManager implementation class *?s/Ho &'  
      org.apache.struts2.views.velocity.VelocityManager接口名 *-+C<2"  
j`Tm\!q  
struts.velocity.toolboxlocation OrzM hQaf  
      The location of the Velocity toolbox r';Hxa '  
      velocity工具盒的位置 x!Y(Y=i>  
struts.xslt.nocache wbo{JQ  
      Whether or not XSLT templates should not be cached tP -5  
      是否XSLT模版应该被缓存 % 1OC#&  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
10+5=?,请输入中文答案:十五