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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 p%+uv\Ix  
} JePEmj  
struts.action.extension i`}nv,  
      The URL extension to use to determine if the request is meant for a Struts action R8U?s/*  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 g*nh8  
"}(g3Iy  
struts.configuration k;bdzcMkQ  
      The org.apache.struts2.config.Configuration implementation class z|:3,$~sN  
        org.apache.struts2.config.Configuration接口名 j~@Hj$APa`  
IyfhVk?  
struts.configuration.files 1\'zq;I~  
      A list of configuration files automatically loaded by Struts !jeoB  
      struts自动加载的一个配置文件列表 !^:)zORYR  
E 9LKVs}  
struts.configuration.xml.reload D[5Qd)PIL  
      Whether to reload the XML configuration or not wgb e7-{  
      是否加载xml配置(true,false) a*4l!-7  
2MapB*  
struts.continuations.package Fuuy_+p@G  
      The package containing actions that use Rife continuations W"a%IO%'  
      含有actions的完整连续的package名称 3+j!{tJ z2  
a$r<%a6  
struts.custom.i18n.resources L(bYG0ZI5C  
      Location of additional localization properties files to load (` N@4w=  
      加载附加的国际化属性文件(不包含.properties后缀) X pH]CF  
=I}8-AS~V  
struts.custom.properties Bi'qy]%  
      Location of additional configuration properties files to load uGxh}'&  
      加载附加的配置文件的位置  gh{Z=_  
*/ ~_3  
vCB0 x:/  
struts.devMode Y%B:IeF}  
      Whether Struts is in development mode or not W".: 1ov#B  
      是否为struts开发模式 [Pnk@jIk4  
uFzvb0O`O  
struts.dispatcher.parametersWorkaround ?Thh7#7LM  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic LR5X=&k  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) B?c n5  
$ MN1:ih  
struts.enable.DynamicMethodInvocation &r)i6{w81  
      Allows one to disable dynamic method invocation from the URL N^{"k,vB-  
        允许动态方法调用 kDz!v?Z2+B  
i^2yq&uT(  
struts.freemarker.manager.classname Gidh7x  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class !BocF<UE  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 nF8|*}w  
KG! W,tB  
struts.i18n.encoding f`dQ $Kh  
      The encoding to use for localization messages bCv^za]P6  
      国际化信息内码 f""+jc1  
cM= ? {W7~  
struts.i18n.reload ?Z ]5 [  
      Whether the localization messages should automatically be reloaded |@a.dgz,  
      是否国际化信息自动加载 /i${[1  
p%8v+9+h2  
struts.locale tocZO  
      The default locale for the Struts application y$f{P:!"{3  
      默认的国际化地区信息 xM dbS4&!  
(H\)BS7#R  
struts.mapper.class Y2)2 tzr]  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class U49#?^?  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Y] ZNAR  
Vl0 J!JK_  
struts.multipart.maxSize =%}++7#  
      The maximize size of a multipart request (file upload) uTemAIp $u  
      multipart请求信息的最大尺寸(文件上传用) COF_a%  
]%RX\~Q.4  
struts.multipart.parser '_n J DM  
      The org.apache.struts2.dispatcher.multipart. U',9t  
      MultiPartRequest parser implementation for a multipart request (file upload) [M7&  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) [HV>4,,3"  
2Op\`Ht &  
wcdD i[E>i  
struts.multipart.saveDir w;RG*rv  
      The directory to use for storing uploaded files \sUk71L` j  
      设置存储上传文件的目录夹 u;[*Z  
zi-; 7lT  
struts.objectFactory $!(J4v=X  
      The com.opensymphony.xwork2.ObjectFactory implementation class y2>XLELy  
      com.opensymphony.xwork2.ObjectFactory接口(spring) f^tCD'Vmi  
IwE{Zvr  
struts.objectFactory.spring.autoWire <0Mc\wy  
      Whether Spring should autoWire or not 0nh;0Z  
      是否自动绑定Spring UJqDZIvC  
NaR/IsN8%  
struts.objectFactory.spring.useClassCache 8op,;Z7Y  
      Whether Spring should use its class cache or not ugZ-*e7  
      是否spring应该使用自身的cache HW{si]~q  
D 2U")g}U  
struts.objectTypeDeterminer DH#n7s'b  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class $qoh0$  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 X"S-f; b#  
jK[~d Y  
struts.serve.static.browserCache % |6t\[gn  
If static content served by the Struts filter should set browser caching header properties or not cWd\Ki  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 PWwz<AI+  
]w3-No  
struts.serve.static !zhg3B# p  
      Whether the Struts filter should serve static content or not )CYm/dk  
      是否struts过滤器应该提供静态内容 )4[Yplo  
U_-9rkUa  
struts.tag.altSyntax Yt 9{:+[RK  
      Whether to use the alterative syntax for the tags or not @+gr>a1K#  
      是否可以用替代的语法替代tags RS$!TTeQ  
[@l:C\2  
struts.ui.templateDir ^[7ZBmS  
      The directory containing UI templates ^x! N]  
      UI templates的目录夹 jkPye{j  
muAI$IRR   
struts.ui.theme 'w'P rM,:  
      The default UI template theme (5^bU<  
      默认的UI template主题 6vx0F?>_  
Hcp)Q76X  
struts.url.http.port F~NmLm  
      The HTTP port used by Struts URLs A,tmy',d"  
      设置http端口 d!V;\w  
[r_YQ*+ej  
struts.url.https.port ^!={=No]  
      The HTTPS port used by Struts URLs H%!ED1zpA  
      设置https端口 Px!M^ T!Pi  
D!K){ E  
struts.url.includeParams h)W?8XdM  
      The default includeParams method to generate Struts URLs Fp)+>o T  
      在url中产生 默认的includeParams igoXMsifT+  
Ft7{P.g  
sXD.*D  
struts.velocity.configfile ?B)jnBh|  
      The Velocity configuration file path AgOw{bJ%  
      velocity配置文件路径 Fq]ht*  
m+f?+c6  
struts.velocity.contexts M![aty@  
      List of Velocity context names (QO8_  
      velocity的context列表 gUfLw  
nLA8Hy"8z  
%n^jho5  
struts.velocity.manager.classname h";0i:  
      org.apache.struts2.views.velocity.VelocityManager implementation class %0>DjzYt  
      org.apache.struts2.views.velocity.VelocityManager接口名 $ BEIG@qG  
e{ce \  
struts.velocity.toolboxlocation EFb1Y{u^\!  
      The location of the Velocity toolbox ,a:!"Z^ f  
      velocity工具盒的位置 \S[7-:Lu^  
struts.xslt.nocache E>/kNl  
      Whether or not XSLT templates should not be cached .L,xqd[zC  
      是否XSLT模版应该被缓存 N36<EHq  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
10+5=?,请输入中文答案:十五