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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解  egur}  
J[6`$$l0  
struts.action.extension Ke0j8|  
      The URL extension to use to determine if the request is meant for a Struts action :77dl/d%  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 K.k%Tg[ ~  
9r,)Bw!RP  
struts.configuration xVOoYr>O  
      The org.apache.struts2.config.Configuration implementation class fUy:TCS  
        org.apache.struts2.config.Configuration接口名 SJ(<u2J]  
K0hmRR=  
struts.configuration.files WP/?(%#Y  
      A list of configuration files automatically loaded by Struts eEvE3=,hg  
      struts自动加载的一个配置文件列表 y \M]\^[7  
p*F.WxB)4  
struts.configuration.xml.reload DEj6 ky  
      Whether to reload the XML configuration or not i,5mH$a&u:  
      是否加载xml配置(true,false)  u>R2:i  
I_|@Fn[>  
struts.continuations.package #~(J J  
      The package containing actions that use Rife continuations koQ\]t'*As  
      含有actions的完整连续的package名称 6M({T2e  
x<_uwL2a  
struts.custom.i18n.resources 0q6$KP}q  
      Location of additional localization properties files to load a o"\L0;{  
      加载附加的国际化属性文件(不包含.properties后缀) UVND1XV^f  
Yyl(<,Yi  
struts.custom.properties wjLtLtK?  
      Location of additional configuration properties files to load Tw^b!74gq  
      加载附加的配置文件的位置 IGKF&s*;{[  
/G}TPXA  
3i KBVN  
struts.devMode hzG+s#  
      Whether Struts is in development mode or not >NL4&MV:  
      是否为struts开发模式 $9LI v  
7OF6;@<  
struts.dispatcher.parametersWorkaround v?\Z4Z|f  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic NJ 6* 7Cd  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 6x?3%0Km  
*^|.bBG  
struts.enable.DynamicMethodInvocation AmSrc.  
      Allows one to disable dynamic method invocation from the URL ^*!Tq&Dst|  
        允许动态方法调用 {<f |h)r  
Yz6+ x]  
struts.freemarker.manager.classname $CT 2E  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class [nL{n bli  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 u">KE6um  
fa~4+jx>S  
struts.i18n.encoding U]!~C 1cmw  
      The encoding to use for localization messages ,E YB E  
      国际化信息内码 v[P $c$Xi  
Pra,r9h,  
struts.i18n.reload {,kA'Px)  
      Whether the localization messages should automatically be reloaded ZboY]1L[j  
      是否国际化信息自动加载 VZ69s{/.B  
PcxCal4  
struts.locale >M`ryM2=D  
      The default locale for the Struts application W7R`})F  
      默认的国际化地区信息 IYZ$a/{P  
3m2hB%SNb  
struts.mapper.class >P-{2 a,4  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ExJch\  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 'fIBJ3s[o  
|2ttdc.  
struts.multipart.maxSize 6;JlA})  
      The maximize size of a multipart request (file upload) j>D[iHrH  
      multipart请求信息的最大尺寸(文件上传用) wtm=  
v'fX'/  
struts.multipart.parser Dht,!LVb;  
      The org.apache.struts2.dispatcher.multipart. `dp]N0nz  
      MultiPartRequest parser implementation for a multipart request (file upload) YwYCXFQ|  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 8v|?g8e3  
2m! T .$  
$7\!  
struts.multipart.saveDir |3ob1/)p0  
      The directory to use for storing uploaded files *3A`7usU  
      设置存储上传文件的目录夹 BH@b]bEJ  
Hu4\4x$?  
struts.objectFactory M.*3qWM  
      The com.opensymphony.xwork2.ObjectFactory implementation class 5!tiu4LU  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 2.6F5&:($  
"$@Wy,yp  
struts.objectFactory.spring.autoWire 5(+9( \x  
      Whether Spring should autoWire or not @d/Wa=K  
      是否自动绑定Spring !Z0p94L  
R:[IH2F s  
struts.objectFactory.spring.useClassCache KUR9vo  
      Whether Spring should use its class cache or not c)5d-3"  
      是否spring应该使用自身的cache R WfC2$z  
\DDR l{  
struts.objectTypeDeterminer _T8o]  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class dE ,NG)MH  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 VZ o,AP~  
U/p|X)  
struts.serve.static.browserCache ke~S[bL%-  
If static content served by the Struts filter should set browser caching header properties or not # Vq"Cf  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 o?T01t=  
z8 n=\xL  
struts.serve.static A7eF.V&  
      Whether the Struts filter should serve static content or not 0\/cTNN  
      是否struts过滤器应该提供静态内容 7QnQ=gu  
 *|OP>N  
struts.tag.altSyntax /kK%}L_D  
      Whether to use the alterative syntax for the tags or not ?H30  
      是否可以用替代的语法替代tags 0q4E^}iR  
n91@{U)QJ3  
struts.ui.templateDir = nIl$9  
      The directory containing UI templates I4Y; 9Gg  
      UI templates的目录夹 v"Z`#Bi  
QOfqW@g  
struts.ui.theme X{-@3tG<r  
      The default UI template theme K4.GAGd  
      默认的UI template主题 _,G^#$pH  
[UW%(N  
struts.url.http.port dI$U{;t  
      The HTTP port used by Struts URLs H.H$5(?O  
      设置http端口  ~[wh  
JGZxNUr^  
struts.url.https.port +DpiX&^h   
      The HTTPS port used by Struts URLs  o(q][:,h  
      设置https端口 li`4&<WGC  
3Mlwq'pzD  
struts.url.includeParams M@wQ6ow  
      The default includeParams method to generate Struts URLs "i5Rh^  
      在url中产生 默认的includeParams fc,^H&  
zA<Hj;9SM  
<D1>;C  
struts.velocity.configfile M8,_E\*  
      The Velocity configuration file path Q*GJREC  
      velocity配置文件路径 >^U$2P  
"&Y5Nh  
struts.velocity.contexts :t'*fHi~  
      List of Velocity context names 4ne95_i  
      velocity的context列表 $@ R[$/  
,'FdUq)i  
Z2.S:y.  
struts.velocity.manager.classname @y+Hb@ >.  
      org.apache.struts2.views.velocity.VelocityManager implementation class ruf*-&Kr7  
      org.apache.struts2.views.velocity.VelocityManager接口名 3%J7_e'  
Gl@-RLo  
struts.velocity.toolboxlocation a YC[15?'  
      The location of the Velocity toolbox wv6rjg:7  
      velocity工具盒的位置 F~C9,`#Wf@  
struts.xslt.nocache < gtqwH]   
      Whether or not XSLT templates should not be cached =Y-ZI  
      是否XSLT模版应该被缓存 N8-!}\,  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八