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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ~hk!N!J\  
(*eX'^Q)d  
struts.action.extension #|769=1  
      The URL extension to use to determine if the request is meant for a Struts action :W&kl UU"  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 GPAC0K^p  
vr47PM2al  
struts.configuration (.oDxs()I  
      The org.apache.struts2.config.Configuration implementation class FLPN#1  
        org.apache.struts2.config.Configuration接口名 Th,]nVsGs~  
*URY8 a`bO  
struts.configuration.files eWYet2!Q  
      A list of configuration files automatically loaded by Struts `m AYK)N  
      struts自动加载的一个配置文件列表 .-s!} P"  
Qh3+4nLFtb  
struts.configuration.xml.reload )I<VH +6  
      Whether to reload the XML configuration or not T06w`'aL  
      是否加载xml配置(true,false) <5]_u:  
4mBM5Tv  
struts.continuations.package UlN}SddI9  
      The package containing actions that use Rife continuations /Y\q&}  
      含有actions的完整连续的package名称 -{eiV0<^  
7je1vNs  
struts.custom.i18n.resources T;3~teVYB  
      Location of additional localization properties files to load )`5-rm~*  
      加载附加的国际化属性文件(不包含.properties后缀) D//58z&  
O{]}{Ss  
struts.custom.properties 4b yh,t  
      Location of additional configuration properties files to load w\t  
      加载附加的配置文件的位置 2s 9U&  
'uUa|J1mu  
Jz;`L3m  
struts.devMode z SsogAx  
      Whether Struts is in development mode or not *qMjoP,  
      是否为struts开发模式 k3OnvnJb  
>>J!|  
struts.dispatcher.parametersWorkaround Z+J~moW `  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic N9)ERW2`*  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) /$vX1T  
QBoX3w=  
struts.enable.DynamicMethodInvocation @J@bD+Q+0  
      Allows one to disable dynamic method invocation from the URL #lVSQZO~a  
        允许动态方法调用 r Z5eXew6  
YRl4?}r2  
struts.freemarker.manager.classname 1 d.>?^uE  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class wL0"1Ya  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 kgmb<4p  
jS/$ o?  
struts.i18n.encoding U/(R_U>=  
      The encoding to use for localization messages yCg>]6B  
      国际化信息内码 H<b4B$/  
4f0dc\$  
struts.i18n.reload GEb)nHQq  
      Whether the localization messages should automatically be reloaded |("5 :m  
      是否国际化信息自动加载 hW c M.  
NX+ eig</-  
struts.locale ;rF:$37^  
      The default locale for the Struts application gY=+G6;=<  
      默认的国际化地区信息 6d 8n1_  
N) z] F9Kg  
struts.mapper.class  93 `  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class QPF[D7\  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 |4Q><6"G  
',RR*{I  
struts.multipart.maxSize +n`^W(  
      The maximize size of a multipart request (file upload) yFP#z5G  
      multipart请求信息的最大尺寸(文件上传用) .Qj`_q6=  
0Zl1(;hx@  
struts.multipart.parser VHws9)  
      The org.apache.struts2.dispatcher.multipart. \@n/L{}(@  
      MultiPartRequest parser implementation for a multipart request (file upload) |@)ij c4i  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) bL7mlh  
!C0= h  
b}q,cm  
struts.multipart.saveDir ]zK} X!  
      The directory to use for storing uploaded files aR;Q^YJ+a  
      设置存储上传文件的目录夹 ?at~il$z'  
PsD]gN5"  
struts.objectFactory sAc)X!}  
      The com.opensymphony.xwork2.ObjectFactory implementation class 0P53dF  
      com.opensymphony.xwork2.ObjectFactory接口(spring) BQ&h&57K  
gzdgnF2  
struts.objectFactory.spring.autoWire q`;URkjk  
      Whether Spring should autoWire or not 4]8PF  
      是否自动绑定Spring z#*GPA8Em:  
ae1fCw3k  
struts.objectFactory.spring.useClassCache ]R]X#jm  
      Whether Spring should use its class cache or not K<_H`k*x  
      是否spring应该使用自身的cache <$9AP  
X!_OOfueP8  
struts.objectTypeDeterminer Kd,m;S\  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class XJOo.Y  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 !p9F'7;Y<  
q C|re!K  
struts.serve.static.browserCache IX3U\_I#  
If static content served by the Struts filter should set browser caching header properties or not Ip 1QmP  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 If#7SF)n'  
%r,2ZLZ  
struts.serve.static >\p}UPx  
      Whether the Struts filter should serve static content or not ) DLK<10  
      是否struts过滤器应该提供静态内容 02S(9^=  
|$0/:*  
struts.tag.altSyntax bKaV]Uy  
      Whether to use the alterative syntax for the tags or not XAFTLNV>  
      是否可以用替代的语法替代tags ?%0i,p@<  
},L[bDOV07  
struts.ui.templateDir Cw2+@7?|  
      The directory containing UI templates 5Np.&  
      UI templates的目录夹 1-[{4{R  
4* hmeS"  
struts.ui.theme U)o8Tr  
      The default UI template theme UX9o  
      默认的UI template主题 aH#|LrdJ  
V7v,)a" L  
struts.url.http.port FxT [4  
      The HTTP port used by Struts URLs z'I0UB#  
      设置http端口 zj)[Sn tn?  
6a!X`%N=  
struts.url.https.port d16 PY_  
      The HTTPS port used by Struts URLs ,J#5Y.  
      设置https端口 yI;Qb7|^  
ZqGq%8\.s  
struts.url.includeParams G j:|  
      The default includeParams method to generate Struts URLs t8[:}[Jx  
      在url中产生 默认的includeParams [6tQv<}^  
@'y"D  
$7*Ml)H!9  
struts.velocity.configfile vtT:c.~d  
      The Velocity configuration file path & Gt9a-ne  
      velocity配置文件路径 +Snjb0  
:4Vt  
struts.velocity.contexts g<-cHF  
      List of Velocity context names }A;Xd/,'r  
      velocity的context列表 33 4*nQ  
wDG4rN9x  
KKzvoc?Bt  
struts.velocity.manager.classname RinRQd  
      org.apache.struts2.views.velocity.VelocityManager implementation class RPWYm  
      org.apache.struts2.views.velocity.VelocityManager接口名 ro{MD s  
 x1et,&,  
struts.velocity.toolboxlocation v]!7=>/2  
      The location of the Velocity toolbox J5"*OH:f  
      velocity工具盒的位置 *$1)&2i  
struts.xslt.nocache 5%$#3LT|  
      Whether or not XSLT templates should not be cached 3WY W])  
      是否XSLT模版应该被缓存 m}E$6E^~O  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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