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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 'p4da2%  
S jC)6mo  
struts.action.extension (ouRf;\6$8  
      The URL extension to use to determine if the request is meant for a Struts action wz*)L (pP  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 U'f$YVc  
w a-_O<  
struts.configuration o3kt0NuF,  
      The org.apache.struts2.config.Configuration implementation class NgDZ4&L  
        org.apache.struts2.config.Configuration接口名  eLe,=  
\@iOnRuHn9  
struts.configuration.files [| c@Yw  
      A list of configuration files automatically loaded by Struts -f-O2G=  
      struts自动加载的一个配置文件列表 t-?KKU8  
Z<$E.##  
struts.configuration.xml.reload !W+p<F1i  
      Whether to reload the XML configuration or not 6KBzlj0T+  
      是否加载xml配置(true,false) N,'[:{GOY  
Kt/+PS  
struts.continuations.package %zIl_/s  
      The package containing actions that use Rife continuations S'v V"  
      含有actions的完整连续的package名称 6Zl.Lh  
8AC. 2 v?_  
struts.custom.i18n.resources =:ya;k&  
      Location of additional localization properties files to load `\WcF7  
      加载附加的国际化属性文件(不包含.properties后缀) ai<MsQQ:=  
(50[,:#  
struts.custom.properties "4Wp>B  
      Location of additional configuration properties files to load A*-]J=:E {  
      加载附加的配置文件的位置 P!>{>r4  
,6%hu|Y*  
xPn'yo  
struts.devMode K%aPl~e  
      Whether Struts is in development mode or not KV) Hywl`  
      是否为struts开发模式 mTI\,x%<OC  
i_jax)m%  
struts.dispatcher.parametersWorkaround #NVF\  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic GDNh?R  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) R9|2&pfm(M  
3_R   
struts.enable.DynamicMethodInvocation c:`` Y:  
      Allows one to disable dynamic method invocation from the URL B~ 'VDOG$Z  
        允许动态方法调用 ;?O883@r8  
TCEXa?,L  
struts.freemarker.manager.classname b}}1TnS)  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class +*r**(-Dm  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ^J*G%*  
o\=i0HR9  
struts.i18n.encoding GtAJ#[5w  
      The encoding to use for localization messages Jfixm=.6  
      国际化信息内码 } K hq  
3Q!J9t5dc  
struts.i18n.reload 0F0Q=dZ  
      Whether the localization messages should automatically be reloaded Aa\=7  
      是否国际化信息自动加载 ;ow~vO,x  
n.)[MC}  
struts.locale H-\ {w    
      The default locale for the Struts application f2w=ln  
      默认的国际化地区信息 #.<F5  
h^ecn-PC  
struts.mapper.class E;GR;i{t  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class lu@>?,<  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 SJ WP8+  
'Kso@St`o  
struts.multipart.maxSize s2kZZP8-  
      The maximize size of a multipart request (file upload) ]zwqGA  
      multipart请求信息的最大尺寸(文件上传用) #()cG  
w;SH>Ax:  
struts.multipart.parser |q.:hWYFpM  
      The org.apache.struts2.dispatcher.multipart. rJc)< OZjT  
      MultiPartRequest parser implementation for a multipart request (file upload) gA 6h5F)_  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ,p/b$d1p  
fj t_9-.  
$ DZQdhv  
struts.multipart.saveDir 1N$gE  
      The directory to use for storing uploaded files ]Re~V{uh  
      设置存储上传文件的目录夹 b]g&rwXYt  
t+4Y3*WeGF  
struts.objectFactory g0:4zeL  
      The com.opensymphony.xwork2.ObjectFactory implementation class f;tyoN0wHx  
      com.opensymphony.xwork2.ObjectFactory接口(spring) mTuB*  
5c}9  
struts.objectFactory.spring.autoWire : ! iPn%  
      Whether Spring should autoWire or not >&TnTv?I  
      是否自动绑定Spring <K=B(-~  
/@nRL  
struts.objectFactory.spring.useClassCache 3!oQmG_T  
      Whether Spring should use its class cache or not g<T`F  
      是否spring应该使用自身的cache 4{pemqS*  
<% 3SI.  
struts.objectTypeDeterminer I\uB"Z{9  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class wq_oh*"  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Y1E>T-Ma  
q[|`&6B  
struts.serve.static.browserCache rX>y>{w~  
If static content served by the Struts filter should set browser caching header properties or not  ZV q  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 L]}RSE2  
>pH775I=  
struts.serve.static !{ESeBSCG  
      Whether the Struts filter should serve static content or not gy,TT<1)  
      是否struts过滤器应该提供静态内容 Ualq>J5-m-  
ox=7N{+`J  
struts.tag.altSyntax F)5B[.ce  
      Whether to use the alterative syntax for the tags or not !|:q@|- %@  
      是否可以用替代的语法替代tags t|U2 ws#  
QH' [ (  
struts.ui.templateDir n\"LN3  
      The directory containing UI templates 7" STS7_  
      UI templates的目录夹 $H:h(ia:  
Qdr-GODx  
struts.ui.theme -z 5k4Y  
      The default UI template theme .kKwdqO+zB  
      默认的UI template主题  ~!d)J  
L|1zHDxQ  
struts.url.http.port FqUt uN  
      The HTTP port used by Struts URLs q}F%o0  
      设置http端口 vBYT)S  
CygV_q  
struts.url.https.port v4>"p!_C  
      The HTTPS port used by Struts URLs x^O2Lj,w\  
      设置https端口 +l?ro[#6&.  
73z|'0.  
struts.url.includeParams vwH7/+  
      The default includeParams method to generate Struts URLs .q9|XDqQc  
      在url中产生 默认的includeParams $E,DxDT  
ic]tUOC:  
:0j`yo:w  
struts.velocity.configfile //5_E7Ehu$  
      The Velocity configuration file path w$;*~Qc  
      velocity配置文件路径 r=H\4%P4  
2au(8IWu  
struts.velocity.contexts m3xj5]#^$  
      List of Velocity context names ?M-8Fp3 +  
      velocity的context列表 j _9<=Vu  
>.wd)  
#M^Yh?~%w  
struts.velocity.manager.classname ;6 qdOD6  
      org.apache.struts2.views.velocity.VelocityManager implementation class %3+hz $E  
      org.apache.struts2.views.velocity.VelocityManager接口名 2[&-y[1  
$~@096`QL<  
struts.velocity.toolboxlocation PW//8lsR  
      The location of the Velocity toolbox >Wit"p  
      velocity工具盒的位置 ZFuJ2 :  
struts.xslt.nocache @$yYljP  
      Whether or not XSLT templates should not be cached cTa D{!zm5  
      是否XSLT模版应该被缓存 6`";)T[G9  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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