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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ]!/1qF  
DV. m({?  
struts.action.extension +iXA|L9=  
      The URL extension to use to determine if the request is meant for a Struts action 5yry$w$G)  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 P^ a$?  
4`i_ 4&TS  
struts.configuration 3h4>edM  
      The org.apache.struts2.config.Configuration implementation class  8NLk`/  
        org.apache.struts2.config.Configuration接口名 Eq|_> f@@8  
BUtXHD  
struts.configuration.files YcIk{_N3  
      A list of configuration files automatically loaded by Struts /t816,i  
      struts自动加载的一个配置文件列表 LB>!%Vx  
~ ^K[pA ?  
struts.configuration.xml.reload GR"Jk[W9  
      Whether to reload the XML configuration or not Ij" `pdp  
      是否加载xml配置(true,false) ~($h9* \  
6`4=!ZfI  
struts.continuations.package 1e }wDMU(  
      The package containing actions that use Rife continuations V< J~:b1V  
      含有actions的完整连续的package名称 k}/0B  
wqw$6"~  
struts.custom.i18n.resources 5@i/4%S  
      Location of additional localization properties files to load Ef#%4ky  
      加载附加的国际化属性文件(不包含.properties后缀) C\1Dy5  
=!Ok079{[  
struts.custom.properties )s!x)< d;  
      Location of additional configuration properties files to load ]]Wa.P~]O  
      加载附加的配置文件的位置 =|H/[",gg  
*r%=p/oQ}B  
|W?x6]~.R  
struts.devMode hse$M\5  
      Whether Struts is in development mode or not !?]NMf_  
      是否为struts开发模式 5{{u #W%=  
%KqXtc`O  
struts.dispatcher.parametersWorkaround `*WR[c  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic GR/ p%Y(  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) NJ3b Oq  
'l2`05   
struts.enable.DynamicMethodInvocation 9Czc$fSSt  
      Allows one to disable dynamic method invocation from the URL s I#K01;"  
        允许动态方法调用 cBU>/ zIp  
F$d`Umqs;P  
struts.freemarker.manager.classname /']Gnt G.  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ?L'ijzP  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 2nk}'HBe  
pm^[ve  
struts.i18n.encoding NKO5c?ds  
      The encoding to use for localization messages k5|h8%h8  
      国际化信息内码 ]  OR ]  
A07FjT5w8  
struts.i18n.reload 9"&HxyOfX  
      Whether the localization messages should automatically be reloaded z[l17+v  
      是否国际化信息自动加载 ;+cZS=  
w J; y4  
struts.locale kZfO`BVL  
      The default locale for the Struts application <wa}A!fu  
      默认的国际化地区信息 iB{O"l@w  
i,,UD  
struts.mapper.class nXXyX[c4e  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Y*J,9  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ,myl9s  
EFhe``  
struts.multipart.maxSize p,U.5bX  
      The maximize size of a multipart request (file upload) H;|^z@RB<  
      multipart请求信息的最大尺寸(文件上传用) D.X%wJ8  
"QA!z\0\  
struts.multipart.parser 5ZUqCl(PX)  
      The org.apache.struts2.dispatcher.multipart. 8 "|')f#  
      MultiPartRequest parser implementation for a multipart request (file upload) dnH?@ K  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) .Q4EmpByCg  
jf@#&%AC9  
)/UPDdO  
struts.multipart.saveDir FSC74N/  
      The directory to use for storing uploaded files ob-y {x,R  
      设置存储上传文件的目录夹 Q@nxGm  
1jO/"d.8n  
struts.objectFactory Za5*HCo  
      The com.opensymphony.xwork2.ObjectFactory implementation class Gw$U0HA[,  
      com.opensymphony.xwork2.ObjectFactory接口(spring) o^biO!4,  
0Kq\ oMn  
struts.objectFactory.spring.autoWire T-uI CMEf  
      Whether Spring should autoWire or not 5_#wOz0u$  
      是否自动绑定Spring Y ~xcJH  
c=h{^![$  
struts.objectFactory.spring.useClassCache %\2 ll=p1  
      Whether Spring should use its class cache or not Z#%4QIz ?  
      是否spring应该使用自身的cache zN0^FXGD  
Y}Y2 Vx  
struts.objectTypeDeterminer !'[f!vsyM{  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ^dld\t:tV7  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 [PdatL2  
)lE]DG!  
struts.serve.static.browserCache ,a_\o&V  
If static content served by the Struts filter should set browser caching header properties or not z1*8 5?  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 *q\Ve)E}  
FlttqQQdf  
struts.serve.static /V^Gn;  
      Whether the Struts filter should serve static content or not >XM-xK-=  
      是否struts过滤器应该提供静态内容 }PUQvIGZZ&  
m6bAvy]3<t  
struts.tag.altSyntax =;4cDmZh  
      Whether to use the alterative syntax for the tags or not \IQf|  
      是否可以用替代的语法替代tags %[l5){:05  
b[%sKl  
struts.ui.templateDir =LC:1zn4  
      The directory containing UI templates q",n:=PL  
      UI templates的目录夹 lo5,E(7~h  
?Bno?\  
struts.ui.theme D<$, v(-  
      The default UI template theme g/)mbL>=  
      默认的UI template主题 #"|</*% >  
<}&n}|!  
struts.url.http.port IXDj;~GF  
      The HTTP port used by Struts URLs AQw1,tGV  
      设置http端口 eF823cH2x_  
*0^!%Y'/4  
struts.url.https.port T8bk\\Od  
      The HTTPS port used by Struts URLs 7jQOwzj  
      设置https端口 *VG#SK  
 olB?"M=H  
struts.url.includeParams 5hF iK K7  
      The default includeParams method to generate Struts URLs .y\j .p  
      在url中产生 默认的includeParams HZX(kYV  
Kc$j<MRtv  
kj{z;5-dl  
struts.velocity.configfile mmE\=i~  
      The Velocity configuration file path Dp3&@M"^yY  
      velocity配置文件路径 wuR Q H]N  
}6*+>?  
struts.velocity.contexts o$)pJ#";F  
      List of Velocity context names 7o_1PwKS6  
      velocity的context列表 j^-E,YMC  
mnh>gl!l  
>4 4A  
struts.velocity.manager.classname c6.S jV  
      org.apache.struts2.views.velocity.VelocityManager implementation class |`B*\\1  
      org.apache.struts2.views.velocity.VelocityManager接口名 ^lud2x$O^C  
4jbqV  
struts.velocity.toolboxlocation <=[,_P6|  
      The location of the Velocity toolbox FrT.<3  
      velocity工具盒的位置 7Ko<,Kp2b  
struts.xslt.nocache ek\8u`GC  
      Whether or not XSLT templates should not be cached +i HZ*  
      是否XSLT模版应该被缓存 z~fZg6  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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