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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解  f V(J|  
b_):MQ1{  
struts.action.extension 4'Zp-k?5`  
      The URL extension to use to determine if the request is meant for a Struts action d`6 ' Z  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 V470C@  
+t;7tQDVB  
struts.configuration Xs?o{]Fe  
      The org.apache.struts2.config.Configuration implementation class "wHFN>5B  
        org.apache.struts2.config.Configuration接口名 ~3 bPIg7D  
E+JqWR5  
struts.configuration.files V2G6Kw9gt  
      A list of configuration files automatically loaded by Struts 1!gbTeVlY  
      struts自动加载的一个配置文件列表 O7IJ%_A&  
pHJ3nHLQ  
struts.configuration.xml.reload Tu7QCr5*  
      Whether to reload the XML configuration or not v}Fr@0%  
      是否加载xml配置(true,false) JO< wU  
"w.3Q96r  
struts.continuations.package ia 73?*mXT  
      The package containing actions that use Rife continuations 3%ZOKb"D*  
      含有actions的完整连续的package名称 *=c1d o%F  
mdg i5v  
struts.custom.i18n.resources ;d9QAN&0}  
      Location of additional localization properties files to load D5HZ2cz|a  
      加载附加的国际化属性文件(不包含.properties后缀) "FKOaQ%IH  
^v`\x5"Vp  
struts.custom.properties W{gb:^;zb  
      Location of additional configuration properties files to load 6i~WcAs  
      加载附加的配置文件的位置 [zM-^  
Ez=Olbk  
# 4PVVu<  
struts.devMode ZJ[ ??=Gz  
      Whether Struts is in development mode or not :[!j?)%>  
      是否为struts开发模式 ]P?vdgEM&  
uU25iDn  
struts.dispatcher.parametersWorkaround 8pgEix/M5o  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic y;H-m>*%  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) iW /}#  
ox (%5c)b|  
struts.enable.DynamicMethodInvocation d;}nh2*  
      Allows one to disable dynamic method invocation from the URL {jX2}  
        允许动态方法调用 Per1IcN  
>J>[& zS  
struts.freemarker.manager.classname H+Sz=tg5  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 3;s\OW`  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 A$:U'ZG_  
j ?(&#  
struts.i18n.encoding eHDN\QA 2  
      The encoding to use for localization messages KMjhZap%  
      国际化信息内码 R!N%o~C2-  
\)?HJ  
struts.i18n.reload "!%l/_p?  
      Whether the localization messages should automatically be reloaded %F4%H|G  
      是否国际化信息自动加载 `lt"[K<  
Gk /fBs  
struts.locale A=wh@"2  
      The default locale for the Struts application ~O &:C{9=  
      默认的国际化地区信息 -p XSSa;O9  
%Qdn  
struts.mapper.class kq,ucU%>p  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class e&aWq@D  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 r? E)obE  
p2$P:!Y)  
struts.multipart.maxSize fDU!~/#  
      The maximize size of a multipart request (file upload) ~1vDV>dpE  
      multipart请求信息的最大尺寸(文件上传用) [^98fAlz6  
 O+Y6N  
struts.multipart.parser EA]U50L(  
      The org.apache.struts2.dispatcher.multipart. c|@bwat4  
      MultiPartRequest parser implementation for a multipart request (file upload) lv+TD!b   
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) hNmJ!Uo  
*6DB0X_-}  
g~A`N=r;h  
struts.multipart.saveDir HqT#$}rv  
      The directory to use for storing uploaded files "mvt>X  
      设置存储上传文件的目录夹 h|{]B,.Lh  
DG:Z=LuJr  
struts.objectFactory l&Q`wR5e  
      The com.opensymphony.xwork2.ObjectFactory implementation class EGF '"L  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 76h ,]xi  
oEKvl3Hz_  
struts.objectFactory.spring.autoWire =w 2**$  
      Whether Spring should autoWire or not l#Y,R 0  
      是否自动绑定Spring X LOh7(  
D2B%0sfl~  
struts.objectFactory.spring.useClassCache D!-g&HBTC  
      Whether Spring should use its class cache or not FZslv"F  
      是否spring应该使用自身的cache Ks`J([(W&  
]>nk"K!%  
struts.objectTypeDeterminer )"aV* "  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class !\.pq  2  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 jQ^|3#L\  
R3&Iu=g  
struts.serve.static.browserCache wHMX=N1/  
If static content served by the Struts filter should set browser caching header properties or not CD ( :jM?  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 iN8zo:&Z  
M{T-iW"  
struts.serve.static 4-H+vNG{%  
      Whether the Struts filter should serve static content or not "8jf81V*  
      是否struts过滤器应该提供静态内容 A1>OY^p3%  
P%&0]FCx  
struts.tag.altSyntax G.a bql  
      Whether to use the alterative syntax for the tags or not c?[I?ytl  
      是否可以用替代的语法替代tags mQ 26K~  
(b-MMr  
struts.ui.templateDir c>:wd@w  
      The directory containing UI templates 9} M?P  
      UI templates的目录夹 ?:I*8Fj  
hVAn>_(  
struts.ui.theme RF53Jyt  
      The default UI template theme "2$fi{9  
      默认的UI template主题 _ y8Wn}19f  
o 5uph=Q{  
struts.url.http.port peuZ&yK+"  
      The HTTP port used by Struts URLs jc[Y}gd,  
      设置http端口 V/ uP%'cd  
'3D XPR^B6  
struts.url.https.port iYm-tsER;  
      The HTTPS port used by Struts URLs ']z{{UNUN  
      设置https端口 YdC6k?tzS  
Nk VK  
struts.url.includeParams 4`]^@"{  
      The default includeParams method to generate Struts URLs ,|H `e^  
      在url中产生 默认的includeParams D_^ nI:  
VfC<WVYiZ  
A:N|\Mv2b  
struts.velocity.configfile O6a<`]F  
      The Velocity configuration file path wX5tp1 ?1J  
      velocity配置文件路径 ipgC RHE  
})8N5C+KU  
struts.velocity.contexts `WFw3TI  
      List of Velocity context names aPfO$b:  
      velocity的context列表 J1RJ*mo7,  
A,hJIe  
cyv`B3}  
struts.velocity.manager.classname udUyh%n  
      org.apache.struts2.views.velocity.VelocityManager implementation class 6@ IXqKz  
      org.apache.struts2.views.velocity.VelocityManager接口名 BmMGx8P  
@oY~..d`  
struts.velocity.toolboxlocation L<-_1!wh  
      The location of the Velocity toolbox 6/Xk7B  
      velocity工具盒的位置 Eog0TQ+*  
struts.xslt.nocache )E@.!Ut4o  
      Whether or not XSLT templates should not be cached JNYFD8J~  
      是否XSLT模版应该被缓存 z] P SpUd  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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