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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 |oWl9j]Z  
^w!1QH0:/  
struts.action.extension m#$$xG  
      The URL extension to use to determine if the request is meant for a Struts action f, '*f:(  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Z2U6<4?1%  
zv7)JH7EV&  
struts.configuration fsl ZJE  
      The org.apache.struts2.config.Configuration implementation class *@{  
        org.apache.struts2.config.Configuration接口名 ur:8`+" (  
P BVF'~f@j  
struts.configuration.files )Q 5 x%  
      A list of configuration files automatically loaded by Struts ?n]adS{  
      struts自动加载的一个配置文件列表 p,V%wGM  
Q>q-6/|UX  
struts.configuration.xml.reload  Y(  
      Whether to reload the XML configuration or not A<] $[2qPj  
      是否加载xml配置(true,false) o}&{Y2!x  
eslvg#Q  
struts.continuations.package K'}I?H~P_  
      The package containing actions that use Rife continuations Hd\. ,2a"  
      含有actions的完整连续的package名称 oTRid G  
<O1os"w  
struts.custom.i18n.resources m*L5xxc!  
      Location of additional localization properties files to load TCFr-*x  
      加载附加的国际化属性文件(不包含.properties后缀) 3-=AmRxW't  
pw&k0?K#  
struts.custom.properties ]H aX.Z<  
      Location of additional configuration properties files to load ,1g_{dMx  
      加载附加的配置文件的位置 G!`PP  
FWB *=.A9  
C;5`G *e  
struts.devMode 33 S CHQ  
      Whether Struts is in development mode or not {{Qbu }/@  
      是否为struts开发模式 }$'XV.  
qqJghV$Oj  
struts.dispatcher.parametersWorkaround Yi]`"\  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic em95ccs'-  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) /N({"G'  
:.tL~% q  
struts.enable.DynamicMethodInvocation RH:vd|q+  
      Allows one to disable dynamic method invocation from the URL x#5vdBf  
        允许动态方法调用 "hQGk  
H0!$aO  
struts.freemarker.manager.classname C(9"59>{]y  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class c3Gy1#f:#2  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 A|,qjiEJCc  
'Hzc"<2Y\  
struts.i18n.encoding 5 HsF#  
      The encoding to use for localization messages S8B?uU  
      国际化信息内码 FrUqfTi+W  
x N7sFSV@  
struts.i18n.reload 7AS_Aw1L  
      Whether the localization messages should automatically be reloaded :\I*_00!  
      是否国际化信息自动加载 Y+o\?|q-E  
_g fmo  
struts.locale &XdTY +  
      The default locale for the Struts application ZDAW>H<  
      默认的国际化地区信息 9J~\.:jH-  
TpwN2 =  
struts.mapper.class  sa&`CEa  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class r{t6Vv2J  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 tHo|8c~ [  
DRR)mQBb  
struts.multipart.maxSize Ssuz%*  
      The maximize size of a multipart request (file upload) >MKj~Ud  
      multipart请求信息的最大尺寸(文件上传用) 9gdK&/ulR  
lz ::6}  
struts.multipart.parser >d=pl}-kOQ  
      The org.apache.struts2.dispatcher.multipart. |IV7g*J89  
      MultiPartRequest parser implementation for a multipart request (file upload) SE43C %hv  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 4Ngp  -  
~".@;Q  
P$0c{B4I  
struts.multipart.saveDir hdi0YL  
      The directory to use for storing uploaded files i721(1  
      设置存储上传文件的目录夹 b>8TH-1t~  
~@Q ]@8Tv\  
struts.objectFactory L-:@Om!  
      The com.opensymphony.xwork2.ObjectFactory implementation class 4p-"1 c$  
      com.opensymphony.xwork2.ObjectFactory接口(spring) :b(W&iBWhI  
JKfJ%yy |  
struts.objectFactory.spring.autoWire oQ,<Yx%E3  
      Whether Spring should autoWire or not cV0CI&  
      是否自动绑定Spring ZZZ9C#hK^9  
Q!qD3<?5  
struts.objectFactory.spring.useClassCache r8eJ&-Yi{Z  
      Whether Spring should use its class cache or not d23=WNn  
      是否spring应该使用自身的cache K0_gMi+bR  
"f_qG2A{  
struts.objectTypeDeterminer ^g|cRI_"  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class }.&;NgZS  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口  U-4F  
N) _24  
struts.serve.static.browserCache k_,& Q?GtU  
If static content served by the Struts filter should set browser caching header properties or not YS){ N=g&'  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 A]'jsv!+  
M /v@C*c  
struts.serve.static hL6;n*S=  
      Whether the Struts filter should serve static content or not q)Nw$dW<  
      是否struts过滤器应该提供静态内容 (g/A uL  
}.E^_`  
struts.tag.altSyntax :&TM0O  
      Whether to use the alterative syntax for the tags or not =WW5H\?  
      是否可以用替代的语法替代tags 'UWkJ2:!  
qf\W,SM  
struts.ui.templateDir n`&D_AbQ  
      The directory containing UI templates |,:p[Oy  
      UI templates的目录夹 65qqs|&w;[  
4Ex&AR8  
struts.ui.theme Zs=A<[  
      The default UI template theme o}114X4q;  
      默认的UI template主题 QJ4$) Fr(  
l7qW)<r  
struts.url.http.port {~F|"v  
      The HTTP port used by Struts URLs 'WE"$1  
      设置http端口 rf%lhBv  
J|f29B-c  
struts.url.https.port m","m  
      The HTTPS port used by Struts URLs s. A}ydtt  
      设置https端口 {<gv1Yht  
IJGw<cB]+  
struts.url.includeParams 94ruQ/  
      The default includeParams method to generate Struts URLs 4/`;(*]Fv  
      在url中产生 默认的includeParams 7GsKD=bl]  
CL1*pL  
8CZfz!2  
struts.velocity.configfile \Dq'~ d  
      The Velocity configuration file path 77O$^fG2  
      velocity配置文件路径 N~8H\  
{ sC Ni  
struts.velocity.contexts P\ke%Jdpw?  
      List of Velocity context names 1l#46?]~  
      velocity的context列表 #\lvzMjCC  
j9[I6ko5'  
'?veMX  
struts.velocity.manager.classname [A84R04_%  
      org.apache.struts2.views.velocity.VelocityManager implementation class *7h~0%WR  
      org.apache.struts2.views.velocity.VelocityManager接口名 6Bjo9,L  
MZ,1mR  
struts.velocity.toolboxlocation 'l.tV7  
      The location of the Velocity toolbox js81@WX!c  
      velocity工具盒的位置 49QsT5b)  
struts.xslt.nocache Z\CvaX  
      Whether or not XSLT templates should not be cached `-pwP  
      是否XSLT模版应该被缓存 /"gRyv  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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