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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 #aQQd8   
c5_/i7  
struts.action.extension :(\JY?+w   
      The URL extension to use to determine if the request is meant for a Struts action ?N(<w?Gat  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 .1}1e;f-  
84!Hd.H  
struts.configuration UiVGOQq  
      The org.apache.struts2.config.Configuration implementation class d_Jj&:"l  
        org.apache.struts2.config.Configuration接口名 Z5 p [*LMO  
Gj?$HFa  
struts.configuration.files 6?Kl L [~  
      A list of configuration files automatically loaded by Struts  !TivQB  
      struts自动加载的一个配置文件列表 Sn0kJIb }  
qW`?,N)r  
struts.configuration.xml.reload fwvwmZW  
      Whether to reload the XML configuration or not &)jq3  
      是否加载xml配置(true,false) _RIlGs\.  
i),bAU!+m  
struts.continuations.package 'J$@~P  
      The package containing actions that use Rife continuations 4l7 Ny\J  
      含有actions的完整连续的package名称 zn>+ \  
wBvVY3VQ^  
struts.custom.i18n.resources ZS%W/.?  
      Location of additional localization properties files to load ;{aGEOP'U  
      加载附加的国际化属性文件(不包含.properties后缀) :}yT?LIyP  
Af\  
struts.custom.properties Vm[F~2+HX  
      Location of additional configuration properties files to load 1Au+X3   
      加载附加的配置文件的位置 Xo:Mar  
! Sw=ns7  
OIJT~Z}  
struts.devMode 4i PVpro  
      Whether Struts is in development mode or not ~8yh,U  
      是否为struts开发模式 tXqX[Td`0g  
51`&%V{daL  
struts.dispatcher.parametersWorkaround }h=PW'M{  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic M\/hK2J# #  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ]BUirJ,2  
eXMIRus(  
struts.enable.DynamicMethodInvocation -r_,#LR!l  
      Allows one to disable dynamic method invocation from the URL x. #E3xI  
        允许动态方法调用 gXlcB~!  
x9AFN  
struts.freemarker.manager.classname $btu=_|f  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class cS'{h  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 zPx R=0|  
0>8w On  
struts.i18n.encoding B;?)X&n|X  
      The encoding to use for localization messages /y$Fw9R;  
      国际化信息内码 tRpY+s~Fq  
k qL.ZR  
struts.i18n.reload 7f}uRXBV$A  
      Whether the localization messages should automatically be reloaded 8]Tv1Wc  
      是否国际化信息自动加载 J jm={+@+  
eZ+6U`^t  
struts.locale w|6/i/X  
      The default locale for the Struts application q" f65d4c  
      默认的国际化地区信息 lcm3wJ'w  
E*u*LMm  
struts.mapper.class !6 L!%Oi  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 1f<R,>  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 p<{P#?4 g  
+]nIr'V  
struts.multipart.maxSize & W od  
      The maximize size of a multipart request (file upload) *g,ls(r\[  
      multipart请求信息的最大尺寸(文件上传用) +8C }%6aX  
6^WNwe\  
struts.multipart.parser 4~&3.1  
      The org.apache.struts2.dispatcher.multipart. vUVFW'-  
      MultiPartRequest parser implementation for a multipart request (file upload) y^,QM[&  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) x};~8lGT>t  
4"k&9+>  
~1%*w*  
struts.multipart.saveDir IJ&Lk=2E]  
      The directory to use for storing uploaded files DtFHh/X  
      设置存储上传文件的目录夹 L7Hv)  
v@soS1V!  
struts.objectFactory A1INaL  
      The com.opensymphony.xwork2.ObjectFactory implementation class = V2Rq(jH  
      com.opensymphony.xwork2.ObjectFactory接口(spring) DH yv^  
2t9UJu4  
struts.objectFactory.spring.autoWire $Yt|XT+!&  
      Whether Spring should autoWire or not 0M"n  
      是否自动绑定Spring 7;o:r$08&}  
S )rr  
struts.objectFactory.spring.useClassCache @b,H'WvhfS  
      Whether Spring should use its class cache or not E<Zf!!3  
      是否spring应该使用自身的cache jkx>o?s)z  
jel:oy|_  
struts.objectTypeDeterminer }q`9U!v  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class X'jyR:ut#  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 <@"rI>=  
+7}^Y}(  
struts.serve.static.browserCache aWIkp5BFj  
If static content served by the Struts filter should set browser caching header properties or not &U7v=a  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 88~Nrl=co  
n82tZpn  
struts.serve.static a8J AJkFB  
      Whether the Struts filter should serve static content or not ~c35Y9-5  
      是否struts过滤器应该提供静态内容 JI[8n$pr]  
-0d9,,c  
struts.tag.altSyntax eO <N/?t  
      Whether to use the alterative syntax for the tags or not S(Afo`  
      是否可以用替代的语法替代tags W|m(Jh[w]  
\Q|-Npw  
struts.ui.templateDir AQUAQZc  
      The directory containing UI templates BV B2$&eJ  
      UI templates的目录夹 x[)-h/&Fh  
RJ'[m~yl5X  
struts.ui.theme nsR CDUCi  
      The default UI template theme xqzeBLU  
      默认的UI template主题 M; wKTTQy  
l.o/H|  
struts.url.http.port Qc3d<{7\~  
      The HTTP port used by Struts URLs 7K\v=  
      设置http端口 bRxI7 '  
C '( Y  
struts.url.https.port PGJh>[ s  
      The HTTPS port used by Struts URLs z3uR1vF'  
      设置https端口 S-S%IdL  
TQT3]h6  
struts.url.includeParams bO\++zOF  
      The default includeParams method to generate Struts URLs ^x\VMd3*w  
      在url中产生 默认的includeParams pPBXUu'  
|CDM(g>%  
V|MHDMD=  
struts.velocity.configfile p>7qyZ8  
      The Velocity configuration file path X$>F78e*  
      velocity配置文件路径 &SE}5ddC7  
bgi_QB#k\  
struts.velocity.contexts KVa{;zBwl  
      List of Velocity context names E2'Wzrovlo  
      velocity的context列表 l&ueD& *4&  
PaI\y! f  
TRGpE9i  
struts.velocity.manager.classname H54RA6$>  
      org.apache.struts2.views.velocity.VelocityManager implementation class x#EE_i/W  
      org.apache.struts2.views.velocity.VelocityManager接口名 KSPa2>lz?  
gB'ajX=OA/  
struts.velocity.toolboxlocation 9fEe={ B+  
      The location of the Velocity toolbox 'Gn>~m  
      velocity工具盒的位置 Y1-dpML  
struts.xslt.nocache [7I bT:ph  
      Whether or not XSLT templates should not be cached [f_^B U&  
      是否XSLT模版应该被缓存 1?Y>Xz  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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