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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ,L2ZinU:  
BKCiIfkZ  
struts.action.extension 5Pc;5 o0C  
      The URL extension to use to determine if the request is meant for a Struts action 8Al{+gx@?  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 v4TQX<0s  
-m zIT4  
struts.configuration u {cW:  
      The org.apache.struts2.config.Configuration implementation class QT5TE: D  
        org.apache.struts2.config.Configuration接口名 a=_g*OK}D  
o'aEY<mZ7  
struts.configuration.files QE+g j8  
      A list of configuration files automatically loaded by Struts 1ba~SHi  
      struts自动加载的一个配置文件列表 5DU6rks%  
=j_4S<  
struts.configuration.xml.reload %A/0 '  
      Whether to reload the XML configuration or not 9.M4o[  
      是否加载xml配置(true,false) n+9=1Oo"  
*8A  
struts.continuations.package h+H%?:FX  
      The package containing actions that use Rife continuations >h9I M$2  
      含有actions的完整连续的package名称 )AtD}HEv  
!?jrf] A@  
struts.custom.i18n.resources M] %?>G  
      Location of additional localization properties files to load KK4`l}Fk:n  
      加载附加的国际化属性文件(不包含.properties后缀) O`kl\K*R7  
3*XNV  
struts.custom.properties }"H,h)T  
      Location of additional configuration properties files to load R%WCH?B<}  
      加载附加的配置文件的位置 r|8d 4  
cl3K<'D  
a.\:T,cP>  
struts.devMode a5^] 20Fa  
      Whether Struts is in development mode or not sE<V5`Z=  
      是否为struts开发模式 7aRi5  
!*&V- 4  
struts.dispatcher.parametersWorkaround ?p{Nwl#  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic y14;%aQN  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 6Pnjmw.HV  
1-uxC^u?|#  
struts.enable.DynamicMethodInvocation m 9WDT  
      Allows one to disable dynamic method invocation from the URL & ywPuTt  
        允许动态方法调用 ~Ffo-Nd-  
:RTC!spy  
struts.freemarker.manager.classname 4Z=_,#h4.  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class tS5hv@9cWx  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 #Vt%@* i  
Jt<_zn_FG  
struts.i18n.encoding NNR`!Pty  
      The encoding to use for localization messages qr^3R&z!}  
      国际化信息内码 xt* 3'v  
P1 8hxXE3  
struts.i18n.reload -0 a/$h  
      Whether the localization messages should automatically be reloaded \)904W5R  
      是否国际化信息自动加载 XEp{VC@=  
[!uG1GJ>  
struts.locale U$.@]F4&  
      The default locale for the Struts application gCS<iBT(7  
      默认的国际化地区信息 DJ k/{Z:  
P )"m0Lu<  
struts.mapper.class 2;`1h[,-^  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class b5I I/Y  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 /9*B)m"  
$9#H04.x  
struts.multipart.maxSize 6<SAa#@ey  
      The maximize size of a multipart request (file upload) J1|\Q:-7p  
      multipart请求信息的最大尺寸(文件上传用) l/ GGCnO/  
6vo;!V6  
struts.multipart.parser }OR@~V{Gj  
      The org.apache.struts2.dispatcher.multipart. @})|Z}~  
      MultiPartRequest parser implementation for a multipart request (file upload) E0=)HTtS  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ,eW%{[g(  
^ogt+6c  
GW@;}m(  
struts.multipart.saveDir sqwGsO$#  
      The directory to use for storing uploaded files jXx<`I+]  
      设置存储上传文件的目录夹 Yui3+}Ms  
rQs)O<jl  
struts.objectFactory 3{64 @s  
      The com.opensymphony.xwork2.ObjectFactory implementation class #4% ]o%.  
      com.opensymphony.xwork2.ObjectFactory接口(spring) O, wJR  
K(rWNO  
struts.objectFactory.spring.autoWire [wOn|)& &  
      Whether Spring should autoWire or not )p0^zv{  
      是否自动绑定Spring l`{\"#4  
= `F(B  
struts.objectFactory.spring.useClassCache IB"w&sBy  
      Whether Spring should use its class cache or not L(<*)No  
      是否spring应该使用自身的cache #e1>H1eU  
z&)A,ryW0  
struts.objectTypeDeterminer . B9iLI  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Oh`69 k  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 %QGC8Tz  
m+R[#GE8#  
struts.serve.static.browserCache 3?9IJ5p  
If static content served by the Struts filter should set browser caching header properties or not B$ PP&/  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 J.b9F:&}  
t;Sb/3  
struts.serve.static NjScc%@y  
      Whether the Struts filter should serve static content or not e7Z32P0ls  
      是否struts过滤器应该提供静态内容 Q7\w+ANf0  
Su7?;Oh/yI  
struts.tag.altSyntax ;>yxNGV`  
      Whether to use the alterative syntax for the tags or not &*,#5.  
      是否可以用替代的语法替代tags ]EBxl=C}D  
 .-c4wm}  
struts.ui.templateDir =E4LRKn  
      The directory containing UI templates 7 :xfPx  
      UI templates的目录夹 "Mn6U-  
/QWvW=F2<  
struts.ui.theme ay ;S4c/_  
      The default UI template theme u@UMP@"#  
      默认的UI template主题 .CABH,Po:  
VcO0sa f`  
struts.url.http.port 61>.vT8P  
      The HTTP port used by Struts URLs EStB#V^  
      设置http端口 g`' !HGY  
oXh#a8  
struts.url.https.port C.yQ=\U2  
      The HTTPS port used by Struts URLs HGs $*  
      设置https端口 @/.;Xw]  
D6Ui!  
struts.url.includeParams f!uwzHA`?  
      The default includeParams method to generate Struts URLs @[<><uTH  
      在url中产生 默认的includeParams s}9S8@#  
Y-_`23x`  
R6Km\N  
struts.velocity.configfile m@2QnA[ 4  
      The Velocity configuration file path OmpND{w  
      velocity配置文件路径 RuA*YV  
kR-SE5`Jk  
struts.velocity.contexts O7m(o:t x3  
      List of Velocity context names L^2%1GfE{  
      velocity的context列表 #ym'AN  
>V?eog%~  
-`kW&I0  
struts.velocity.manager.classname W0@n/U  
      org.apache.struts2.views.velocity.VelocityManager implementation class D9=KXo^  
      org.apache.struts2.views.velocity.VelocityManager接口名 +T1pJ 89P  
t7Iv?5]N  
struts.velocity.toolboxlocation HZC"nb}r4  
      The location of the Velocity toolbox v6bGjVK[  
      velocity工具盒的位置 ghG**3xr  
struts.xslt.nocache *SDs;kg  
      Whether or not XSLT templates should not be cached N1}sHyVq7  
      是否XSLT模版应该被缓存 .+3g*Dv{&  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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