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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 W{6|tx)  
`ZyI!"  
struts.action.extension YIQ 4t  
      The URL extension to use to determine if the request is meant for a Struts action N"Zt47(  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 v$?+MNks  
| *2w5iR  
struts.configuration "n(hfz0y%  
      The org.apache.struts2.config.Configuration implementation class >UiYL}'br6  
        org.apache.struts2.config.Configuration接口名 ^ *k?pJ5  
jFL #s&ft  
struts.configuration.files P}n_IV*@  
      A list of configuration files automatically loaded by Struts ,Z&xNBX  
      struts自动加载的一个配置文件列表 '"0'Oua  
%)zodf  
struts.configuration.xml.reload r!_-"~`7E  
      Whether to reload the XML configuration or not w0rRSD4S8B  
      是否加载xml配置(true,false) f e\$@-  
G\2 CR*  
struts.continuations.package 4'/nax$Bx;  
      The package containing actions that use Rife continuations ls\WXCH  
      含有actions的完整连续的package名称 =.Pw`.  
iT3BF"ZqBO  
struts.custom.i18n.resources /R]U}o^/(%  
      Location of additional localization properties files to load tdBm (CsN  
      加载附加的国际化属性文件(不包含.properties后缀) N +Yxz;Mg  
y" RF;KW>  
struts.custom.properties $p#Bi-&  
      Location of additional configuration properties files to load AG`L64B  
      加载附加的配置文件的位置 A5c%SCq;  
KX,S  
+Vb.lH[av  
struts.devMode LDgrR[  
      Whether Struts is in development mode or not naG=Pq<  
      是否为struts开发模式 ?+@n3]`0  
Lb:g4A"  
struts.dispatcher.parametersWorkaround qeVfE_<  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic @ym v< Mo  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) QwW&\h[8?  
y-'$(x  
struts.enable.DynamicMethodInvocation :~"CuB/  
      Allows one to disable dynamic method invocation from the URL g:g\>@Umo  
        允许动态方法调用 -$,TMqM  
t3 8m'J :>  
struts.freemarker.manager.classname BO~ 0ON0  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class HVR /7&g  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ry`Ho8N  
AifWf2$S  
struts.i18n.encoding <'y?KiphL  
      The encoding to use for localization messages cOmw?kA*G  
      国际化信息内码 lA| 5E?  
JU1~e@/'%  
struts.i18n.reload >)fi^  
      Whether the localization messages should automatically be reloaded o[Q MTP  
      是否国际化信息自动加载 rK'L6o  
,>bh$|  
struts.locale XRM_x:+]  
      The default locale for the Struts application %KC yb  
      默认的国际化地区信息 JFcLv=U  
>*~L28Fyn  
struts.mapper.class :3v}kLO7|  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ^S4d:-.3  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 b[r8 e  
PCHu #5j_a  
struts.multipart.maxSize DU0zez I9  
      The maximize size of a multipart request (file upload) M'?,] an  
      multipart请求信息的最大尺寸(文件上传用) ZQ4p(6a   
%aG5F}S2~  
struts.multipart.parser 9vuyv*-}e  
      The org.apache.struts2.dispatcher.multipart. g/ T   
      MultiPartRequest parser implementation for a multipart request (file upload) | k&Ck  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) \(?rQg@U  
hci6P>h<ia  
? &o2st  
struts.multipart.saveDir pA'4|ffwe  
      The directory to use for storing uploaded files zqimR#u  
      设置存储上传文件的目录夹 cvn@/qBq*t  
"%`1 ]Fr  
struts.objectFactory dU&a{ $ku[  
      The com.opensymphony.xwork2.ObjectFactory implementation class <Th6r.#?  
      com.opensymphony.xwork2.ObjectFactory接口(spring) yZ0-wI  
g!g#]9j  
struts.objectFactory.spring.autoWire z`.<U{5  
      Whether Spring should autoWire or not ity & v 9  
      是否自动绑定Spring <T` 7%$/E  
($q-_m  
struts.objectFactory.spring.useClassCache "Gsc;X'id  
      Whether Spring should use its class cache or not *>Ns_su7W  
      是否spring应该使用自身的cache i?p$H0b n  
|kyX3~  
struts.objectTypeDeterminer ~8q)^vm>f?  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class [+rfAW>p}  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 >6ni")Q9  
D$w6V  
struts.serve.static.browserCache v,FU^f-'  
If static content served by the Struts filter should set browser caching header properties or not 0M_ DB=  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 h{)kQLuzT  
ep!Rf:  
struts.serve.static H[6:_**?o  
      Whether the Struts filter should serve static content or not ]~Rho_mq#  
      是否struts过滤器应该提供静态内容 JrJo|0Q  
k KaE=H-x  
struts.tag.altSyntax Vh'P&W?[  
      Whether to use the alterative syntax for the tags or not F%@A6'c  
      是否可以用替代的语法替代tags E-T)*`e  
u4t7Ie*Q  
struts.ui.templateDir ;,hwZZA  
      The directory containing UI templates iw3FA4{(  
      UI templates的目录夹 >nJ\BPx  
F~,Mw8  
struts.ui.theme &Qf/>@ l}  
      The default UI template theme A=$04<nP8!  
      默认的UI template主题 W>${zVu  
%^?fMeI|Y  
struts.url.http.port Y@;CF  
      The HTTP port used by Struts URLs |UkR'Ma  
      设置http端口 Gt\lFQ  
wg9t)1k{e  
struts.url.https.port *D'22TO[[!  
      The HTTPS port used by Struts URLs 9 &$y}Y  
      设置https端口 -WY<zJ  
7o7)0l9!  
struts.url.includeParams ew>XrT=Zm  
      The default includeParams method to generate Struts URLs ()Y~Q(5ji  
      在url中产生 默认的includeParams UE8kpa)cQ  
vk}n,ecl  
OSRp0G20k\  
struts.velocity.configfile dcDyK!zz"  
      The Velocity configuration file path L ^r#o-H<  
      velocity配置文件路径 R|6Cv3:  
M92dZ1+6  
struts.velocity.contexts tZ]?^_Y1  
      List of Velocity context names / kF)  
      velocity的context列表 8V~k5#&Ow  
P@,XEQRd`  
 |tKsgj  
struts.velocity.manager.classname +jAGGv^)  
      org.apache.struts2.views.velocity.VelocityManager implementation class _'#n6^Us<  
      org.apache.struts2.views.velocity.VelocityManager接口名 G4Q[Th  
&agWaf1%a  
struts.velocity.toolboxlocation Uf1!qP/H?  
      The location of the Velocity toolbox [zH:1Zhl&  
      velocity工具盒的位置 ncZ+gzK|"  
struts.xslt.nocache 3OrczJ=[UF  
      Whether or not XSLT templates should not be cached F8nYV  
      是否XSLT模版应该被缓存 >"??!|XG^  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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