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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 MNV OloA  
QTbv3#  
struts.action.extension q<>aZ|r  
      The URL extension to use to determine if the request is meant for a Struts action WJF#+)P:Y  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。  "?(N  
2-x#|9  
struts.configuration ;.|).y1/`  
      The org.apache.struts2.config.Configuration implementation class e{fm7Cc)D  
        org.apache.struts2.config.Configuration接口名 \&. ]!!Q  
TF-k|##G  
struts.configuration.files 2SlOqH1  
      A list of configuration files automatically loaded by Struts L0dj 76'M  
      struts自动加载的一个配置文件列表 \SQwIM   
a^QyYX}\qR  
struts.configuration.xml.reload 7qT>wCVT  
      Whether to reload the XML configuration or not <{k r5<  
      是否加载xml配置(true,false) c]!Yb-  
`D9AtN] R  
struts.continuations.package rA6lyzJ  
      The package containing actions that use Rife continuations }J-+^  
      含有actions的完整连续的package名称 +ew9%={zB  
">hOD'PG  
struts.custom.i18n.resources 6im!v<1Qx  
      Location of additional localization properties files to load ^oT!%"\  
      加载附加的国际化属性文件(不包含.properties后缀) ZQ'bB5I  
2c4x=%  
struts.custom.properties WZ]f \S  
      Location of additional configuration properties files to load -`<KjS  
      加载附加的配置文件的位置 8dY Pn+`  
%9lx)w  
/Xo8 kC  
struts.devMode =vc8u&L2  
      Whether Struts is in development mode or not -T+7u  
      是否为struts开发模式 Kfl#78$d  
TE!+G\@  
struts.dispatcher.parametersWorkaround AQ` `Dp  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic #FQkwX'g  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) r}]%(D](v  
<4m@WG  
struts.enable.DynamicMethodInvocation do>,ELS+m  
      Allows one to disable dynamic method invocation from the URL t/`~(0F  
        允许动态方法调用 MrGq{,6C  
@;K-@*k3  
struts.freemarker.manager.classname [;n/|/m,  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ?5e]^H}  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 \)' o{l&  
r3_O?b  
struts.i18n.encoding Sl7x>=  
      The encoding to use for localization messages UBZ37P  
      国际化信息内码 #lld*I"d  
X@ j.$0 eK  
struts.i18n.reload ccPTJ/%$  
      Whether the localization messages should automatically be reloaded !/;/ X\d  
      是否国际化信息自动加载 ooW;s<6  
VsJ4sb7  
struts.locale !um~P  
      The default locale for the Struts application do$+ Eh  
      默认的国际化地区信息 a#L:L8T;j  
d)yu`U  
struts.mapper.class 6#SUfK;  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class g,61'5\  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 xxS>O%  
uZ/XI {/  
struts.multipart.maxSize DY(pU/q  
      The maximize size of a multipart request (file upload) vi1 D<  
      multipart请求信息的最大尺寸(文件上传用) >=+: lD  
|3{"ANmm'  
struts.multipart.parser YQ7\99tj  
      The org.apache.struts2.dispatcher.multipart. w28&qNha  
      MultiPartRequest parser implementation for a multipart request (file upload) 5HqvSfq>?  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 0` y*7.Ip  
+~[>Usf  
bK69Rb@\A  
struts.multipart.saveDir mNk@WY_F  
      The directory to use for storing uploaded files N}\%r&KR=  
      设置存储上传文件的目录夹 FD[o94`%  
nd #owjB  
struts.objectFactory "PePiW(i+  
      The com.opensymphony.xwork2.ObjectFactory implementation class kE`Fg(M  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 6F8TiR&  
#i'wDvhol  
struts.objectFactory.spring.autoWire =!N,{V_  
      Whether Spring should autoWire or not #Y%(CI  
      是否自动绑定Spring >*]dB|2  
Bag_0.H&m  
struts.objectFactory.spring.useClassCache Q u_=K_W  
      Whether Spring should use its class cache or not eZdFfmYW^R  
      是否spring应该使用自身的cache 7I=vgT1F  
m 88(f2Ch  
struts.objectTypeDeterminer *bl|[(pP  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class EL^j}P  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 U9Gg#M4tY  
.$U=ng j\t  
struts.serve.static.browserCache aHkt K/  
If static content served by the Struts filter should set browser caching header properties or not 8'-E>+L   
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ufB9\yl{~  
sUk&NM%>  
struts.serve.static kk$D:UQX  
      Whether the Struts filter should serve static content or not R+5yyk\  
      是否struts过滤器应该提供静态内容 `1i\8s&O6@  
_+ERX[i  
struts.tag.altSyntax L~!Lq4]V\g  
      Whether to use the alterative syntax for the tags or not ? ]H'egG6  
      是否可以用替代的语法替代tags [!j;jlh7},  
d;g]OeF  
struts.ui.templateDir xA>3]<O  
      The directory containing UI templates c?}{>ig/)  
      UI templates的目录夹 0~Iq9}{*P  
us )NgG  
struts.ui.theme $xK(bc'{  
      The default UI template theme I3A xK A  
      默认的UI template主题 d(q2gd@  
BYZllwxwTE  
struts.url.http.port tN_~zP  
      The HTTP port used by Struts URLs :1gcLsF  
      设置http端口 b4CXif  
Q5c13g2(c  
struts.url.https.port OyATb{`'  
      The HTTPS port used by Struts URLs rW[7 _4  
      设置https端口 *lyRy/POB  
A&`7 l5~X  
struts.url.includeParams 6BObV/S Jg  
      The default includeParams method to generate Struts URLs / jN &VpDG  
      在url中产生 默认的includeParams fvM|Jb  
Q@- h  
0kL tL!3  
struts.velocity.configfile | (: PX  
      The Velocity configuration file path x<>In"QV  
      velocity配置文件路径 e[%g'}D:-  
K~ VUD(  
struts.velocity.contexts N=;VS-  
      List of Velocity context names 6@J)k V  
      velocity的context列表 F17nWvF  
''wF%q  
g({dD;  
struts.velocity.manager.classname K2ry@haN  
      org.apache.struts2.views.velocity.VelocityManager implementation class ek]CTUl*  
      org.apache.struts2.views.velocity.VelocityManager接口名 _.BX#BIF  
/;xmM 2B'  
struts.velocity.toolboxlocation QW6\~l 4  
      The location of the Velocity toolbox z=a{;1A  
      velocity工具盒的位置 WHv xBd  
struts.xslt.nocache r^!P=BS{  
      Whether or not XSLT templates should not be cached \bumB<w(]  
      是否XSLT模版应该被缓存 pYaq1_<+  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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