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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 #5mnSky+s  
YveNsn  
struts.action.extension ~A-VgBbU>_  
      The URL extension to use to determine if the request is meant for a Struts action eLyaTOZadu  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 _43 :1!os  
<PXnR\  
struts.configuration q%c"`u/v/  
      The org.apache.struts2.config.Configuration implementation class 7G9o%!D5  
        org.apache.struts2.config.Configuration接口名 e% .|PZ)  
Wup%.yT~Ds  
struts.configuration.files FHbw &  
      A list of configuration files automatically loaded by Struts ~{BR~\D  
      struts自动加载的一个配置文件列表 O - N> X  
n]J;BW& Av  
struts.configuration.xml.reload Xsv^GmP+  
      Whether to reload the XML configuration or not r`!S*zK  
      是否加载xml配置(true,false) a$h zG-  
6'QlC+E  
struts.continuations.package /_CSRi&  
      The package containing actions that use Rife continuations h|Udw3N1L  
      含有actions的完整连续的package名称 #dm"!I>g  
bAm ,gP  
struts.custom.i18n.resources \[;Qqn0  
      Location of additional localization properties files to load p/.[ cH  
      加载附加的国际化属性文件(不包含.properties后缀) Vh;P,no#  
ICB'?yZ,  
struts.custom.properties Y#aHGZ$i  
      Location of additional configuration properties files to load [wR x)F"  
      加载附加的配置文件的位置 d@,3P)?  
)6,Pmq~)  
Yeb-u+23  
struts.devMode ?^W`7HF%0  
      Whether Struts is in development mode or not coFQu ; i  
      是否为struts开发模式 0I \l_St@  
%)@3V8OI  
struts.dispatcher.parametersWorkaround '*,P33h9<!  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic @8s:,Y_  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) p:q?8+W-r  
/E0/)@pDq  
struts.enable.DynamicMethodInvocation @I,:(<6  
      Allows one to disable dynamic method invocation from the URL cp g+-Zf%  
        允许动态方法调用 E]IPag8C  
Wo8.tu-2  
struts.freemarker.manager.classname GMRFZw_M  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class -Rz%<`  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 FW7@7cVoF  
"I`g(q#Uo  
struts.i18n.encoding lH8e?zJ  
      The encoding to use for localization messages _|%l) KO  
      国际化信息内码 e#j kp'  
xh raf1v3\  
struts.i18n.reload  ]6 ]Nr  
      Whether the localization messages should automatically be reloaded #+]-}v3  
      是否国际化信息自动加载 1#2B1&  
<fm0B3i?  
struts.locale m?#J`?E  
      The default locale for the Struts application r%DaBx!x8  
      默认的国际化地区信息 q"sD>Yh&  
(D 5.NB%@  
struts.mapper.class zP$Ef7bB  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class dN)!B!*aI  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Q!_@Am"h  
mrvPzoF,]  
struts.multipart.maxSize rxVJB3P9  
      The maximize size of a multipart request (file upload)  %SSBXWP  
      multipart请求信息的最大尺寸(文件上传用) G)'(%rl  
Ivue"_i;!  
struts.multipart.parser r=o\!sh[  
      The org.apache.struts2.dispatcher.multipart. Lj(y>{y  
      MultiPartRequest parser implementation for a multipart request (file upload) uk)6%  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ?c!W*`yP  
!WD~zZ|  
,*Z:a 4  
struts.multipart.saveDir IR<`OA  
      The directory to use for storing uploaded files c3NUJ~>=y  
      设置存储上传文件的目录夹 b=-LQkcZhK  
UPI'O %  
struts.objectFactory DoYzTSWx  
      The com.opensymphony.xwork2.ObjectFactory implementation class 9/x_p;bI  
      com.opensymphony.xwork2.ObjectFactory接口(spring) O%n=n3  
^s=p'&6  
struts.objectFactory.spring.autoWire MJ+]\(  
      Whether Spring should autoWire or not cqyrao3;  
      是否自动绑定Spring :O(<3"P/  
j;+!BKWy4  
struts.objectFactory.spring.useClassCache VP<_~OLc  
      Whether Spring should use its class cache or not EFYyr f@  
      是否spring应该使用自身的cache  @aC2]  
qAF.i^  
struts.objectTypeDeterminer GG@&jcp7  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ,Q5Z<\  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 D`G ;kp  
pzPm(M1^X  
struts.serve.static.browserCache 'n)]"G|  
If static content served by the Struts filter should set browser caching header properties or not Apfs&{Uy  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 oNfNe^/T  
bz=B&YR  
struts.serve.static #el i_Cxe  
      Whether the Struts filter should serve static content or not o|v_+<zD!  
      是否struts过滤器应该提供静态内容 E2D}F@<]  
u=5~^ 9  
struts.tag.altSyntax EZ.|6oug\  
      Whether to use the alterative syntax for the tags or not 6tBh`nYB=  
      是否可以用替代的语法替代tags qrj:H4#VB  
C6XZZ  
struts.ui.templateDir 'z=QV{ni  
      The directory containing UI templates kdX ]Afyj  
      UI templates的目录夹 *UJ&9rQ  
gUcG#  
struts.ui.theme D\Nhq Vw  
      The default UI template theme QF7iU@%-  
      默认的UI template主题 X R =^zp?  
Psf'#4g  
struts.url.http.port 1P'R-I  
      The HTTP port used by Struts URLs {y[T3(tt  
      设置http端口 UqP %S$9  
"t{|e6   
struts.url.https.port /puM3ZN  
      The HTTPS port used by Struts URLs Z|z+[V}[  
      设置https端口 A7;|~??  
%Tn0r|K  
struts.url.includeParams :d7tzYT ^  
      The default includeParams method to generate Struts URLs f/r@9\x  
      在url中产生 默认的includeParams <Q4yN!6  
d`z),A=  
hY?x14m$3  
struts.velocity.configfile ;n9r;$!f  
      The Velocity configuration file path n 2k&yL+a  
      velocity配置文件路径 !Ol>![  
)<D(Mb 2p|  
struts.velocity.contexts xJvM l`2;  
      List of Velocity context names kT!Y~c  
      velocity的context列表 RaS7IL:e  
tr]=q9  
L y!!+UM\  
struts.velocity.manager.classname @bN`+DC!<  
      org.apache.struts2.views.velocity.VelocityManager implementation class 8TK&i,  
      org.apache.struts2.views.velocity.VelocityManager接口名 Ax=k0%M[&  
-!dL <  
struts.velocity.toolboxlocation !,#42TY*X  
      The location of the Velocity toolbox Lh%>> Ht{  
      velocity工具盒的位置 7>g^OE f  
struts.xslt.nocache CvwC| AW  
      Whether or not XSLT templates should not be cached (f^K\7HM  
      是否XSLT模版应该被缓存 ~*|0yPFg  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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