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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ~IKPi==@,  
cTeEND)  
struts.action.extension >K9uwUi|b]  
      The URL extension to use to determine if the request is meant for a Struts action :#QYwb~  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 h4^ a#%$  
zk@K uBLL  
struts.configuration ]l'W=_XDg  
      The org.apache.struts2.config.Configuration implementation class <99Xg_e  
        org.apache.struts2.config.Configuration接口名 X|7Y|0o  
BZE~k?*  
struts.configuration.files /IC7q?avQN  
      A list of configuration files automatically loaded by Struts l&4TfzkY  
      struts自动加载的一个配置文件列表 &@xixbg  
U/oncC5  
struts.configuration.xml.reload pc w^W  
      Whether to reload the XML configuration or not |mfQmFF  
      是否加载xml配置(true,false) "3v[\M3  
WoiK _Ud  
struts.continuations.package y3K9rf  
      The package containing actions that use Rife continuations "oYyeT ,?  
      含有actions的完整连续的package名称 [a*m9F\ ,  
XY8s\DK  
struts.custom.i18n.resources RYaf{i`  
      Location of additional localization properties files to load ~Cj55S+  
      加载附加的国际化属性文件(不包含.properties后缀) +M6qbIO  
8eSIY17  
struts.custom.properties n@xDFa  
      Location of additional configuration properties files to load gC#PqK~  
      加载附加的配置文件的位置 xh\{ dUPA  
Y$ ;C@I  
']+-u{+#  
struts.devMode 1Q6WpS  
      Whether Struts is in development mode or not e1X*}OI  
      是否为struts开发模式 z1ltc{~Z  
78\:{i->ta  
struts.dispatcher.parametersWorkaround _1`*&k JL~  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Z2WAVSw  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) _{o=I?+]  
_Va!Ky =]  
struts.enable.DynamicMethodInvocation S"UFT-N  
      Allows one to disable dynamic method invocation from the URL yk9|H)-z  
        允许动态方法调用 /)xG%J7H  
u|7d_3 ::  
struts.freemarker.manager.classname j3rBEQ,R  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class o)7gKWjujP  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 -tSWYp{  
(KHTgZ6  
struts.i18n.encoding 9/MUzt  
      The encoding to use for localization messages `av8|;  
      国际化信息内码 8ltHR]v  
iZQwo3"8r  
struts.i18n.reload ](vsh gp2  
      Whether the localization messages should automatically be reloaded Z xLjh  
      是否国际化信息自动加载 l,*v/95h  
3C8'0DB  
struts.locale rO/mK$  
      The default locale for the Struts application >'/G:\M>A  
      默认的国际化地区信息 k=O2s'F`  
)kl| 5i  
struts.mapper.class Mu18s}  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 3mgFouX2x,  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 vt[4"eU  
8h~v%aZ1  
struts.multipart.maxSize uRKCvsisX  
      The maximize size of a multipart request (file upload) A8hj"V47  
      multipart请求信息的最大尺寸(文件上传用) sf]y\_zU  
#"6(Q2| l  
struts.multipart.parser EW1 L!3K  
      The org.apache.struts2.dispatcher.multipart. s@f4f__(]  
      MultiPartRequest parser implementation for a multipart request (file upload) l0g#&V--  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) rB|D^@mG  
7Rj!vj/  
=O w}MX  
struts.multipart.saveDir %FQMB  
      The directory to use for storing uploaded files %lV&QQa  
      设置存储上传文件的目录夹 %L{H_;z  
K GkzE  
struts.objectFactory 'bkecC  
      The com.opensymphony.xwork2.ObjectFactory implementation class {SW104nb&#  
      com.opensymphony.xwork2.ObjectFactory接口(spring) |,5b[Y"Dt  
4-=>># P  
struts.objectFactory.spring.autoWire \w^iSK-  
      Whether Spring should autoWire or not }#q9>gx  
      是否自动绑定Spring tuK"}HepB  
b/'fC%o,  
struts.objectFactory.spring.useClassCache t/_w}  
      Whether Spring should use its class cache or not #;a 1=8H  
      是否spring应该使用自身的cache UKQ ,]VC  
Fg?Gx(g4  
struts.objectTypeDeterminer 9'Y~! vY  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class M'W@K  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 SZ~Ti|^  
LDW":k|  
struts.serve.static.browserCache A7 .C  
If static content served by the Struts filter should set browser caching header properties or not t qbS!r  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 TvAA  
)m"NO/sJ2  
struts.serve.static (zBa2Vmmv  
      Whether the Struts filter should serve static content or not ._=Pa)T  
      是否struts过滤器应该提供静态内容 0kpRvdEr-  
?)7uwJsH  
struts.tag.altSyntax :HRJ49a  
      Whether to use the alterative syntax for the tags or not XY1NTo. =  
      是否可以用替代的语法替代tags on(F8%]zE  
z}s0D]$+x  
struts.ui.templateDir 95aa  
      The directory containing UI templates 2;5EH 0  
      UI templates的目录夹 WO)rJr!C  
6t TLyI$+  
struts.ui.theme tk<dp7y7  
      The default UI template theme ]OM|Oo  
      默认的UI template主题 06pLa3oi  
G|Ic6Sd  
struts.url.http.port c&3 ]%urL  
      The HTTP port used by Struts URLs vML01SAi  
      设置http端口 ,2[laJ  
Tm_AoZH  
struts.url.https.port sZPPS&KoP3  
      The HTTPS port used by Struts URLs A"\kdxC  
      设置https端口 b3MgJT"mN  
LSNa  
struts.url.includeParams %U)/>Z  
      The default includeParams method to generate Struts URLs W cPDPu~/  
      在url中产生 默认的includeParams ,JN2q]QPP  
fg%I?ou  
"Q A#  
struts.velocity.configfile lOPCM1Se  
      The Velocity configuration file path @ I LG3"  
      velocity配置文件路径 d[w'j/{  
B1JdkL 3h  
struts.velocity.contexts 0lF.!\9  
      List of Velocity context names 5 r"`c  
      velocity的context列表 0MF[e3)a  
.Hl]xI$;+  
-B9C2  
struts.velocity.manager.classname yW^[{)V 3%  
      org.apache.struts2.views.velocity.VelocityManager implementation class J8J~$DU\Gv  
      org.apache.struts2.views.velocity.VelocityManager接口名 i RS )Z )  
?zQ\u{]=  
struts.velocity.toolboxlocation c\-5vw||b  
      The location of the Velocity toolbox >,y291p2  
      velocity工具盒的位置 W@`Nn*S  
struts.xslt.nocache 3)T'&HKQ  
      Whether or not XSLT templates should not be cached *O#%hTYq  
      是否XSLT模版应该被缓存 kUmrJBh$  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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