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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 _cXLQ)-  
ik|iAWy  
struts.action.extension dK?vg@|'  
      The URL extension to use to determine if the request is meant for a Struts action 8{J{)gF  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Nn|~ :9#  
28PT1 9&  
struts.configuration 1\BQq  
      The org.apache.struts2.config.Configuration implementation class POc-`]6 <F  
        org.apache.struts2.config.Configuration接口名 /YH5s=  
iMr/i?`i  
struts.configuration.files H-1y2AQ  
      A list of configuration files automatically loaded by Struts uE{nnNZy  
      struts自动加载的一个配置文件列表 E;^~}  
.jC-&(R +  
struts.configuration.xml.reload X3;|h93.a  
      Whether to reload the XML configuration or not m\xE8D(,  
      是否加载xml配置(true,false) Y;WHjW(K  
hM @F|t3  
struts.continuations.package jB!Q8#&Q  
      The package containing actions that use Rife continuations ]za1=~[  
      含有actions的完整连续的package名称 mOvwdRKn  
@I^LmB9*  
struts.custom.i18n.resources 5%n  
      Location of additional localization properties files to load -I#1xJU  
      加载附加的国际化属性文件(不包含.properties后缀) }2eP~3  
SMdQ,n1]  
struts.custom.properties LE:nmo  
      Location of additional configuration properties files to load F&om^G'U  
      加载附加的配置文件的位置 &\, ZtaB  
m# ]VdO'f  
E#=slj @  
struts.devMode n-7|{1U  
      Whether Struts is in development mode or not ?lYi![.o  
      是否为struts开发模式 0oFRcU  
)0I;+9:D=  
struts.dispatcher.parametersWorkaround '8 ~E  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 71?>~PnbH}  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) L-lDvc?5c  
Z?^~f}+  
struts.enable.DynamicMethodInvocation 76rNs|z~  
      Allows one to disable dynamic method invocation from the URL i|5K4Puu  
        允许动态方法调用 ^Fr82rJs  
W=$d|*$  
struts.freemarker.manager.classname tNI~<#+lg  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class p Rn vd|  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 pZ,P_?  
C1@6 r%YD  
struts.i18n.encoding <-:gaA`KM  
      The encoding to use for localization messages |3?qL  
      国际化信息内码 ]_yk,}88d  
`4'['x  
struts.i18n.reload [D=3:B&f  
      Whether the localization messages should automatically be reloaded )o<rU[oD]C  
      是否国际化信息自动加载 :N<ZO`l?  
7Xu.z9y  
struts.locale )r#^{{6[v  
      The default locale for the Struts application r1= :B'z  
      默认的国际化地区信息 ]$'w8<D>t,  
1} {bHj  
struts.mapper.class ^y,% Tv>  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class i-'rS/R  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 `)[bu  
tU02t#8  
struts.multipart.maxSize !dVth)UV  
      The maximize size of a multipart request (file upload) IG1+_-H:  
      multipart请求信息的最大尺寸(文件上传用) ! `yg bI.  
3rEBG0cf]  
struts.multipart.parser ugtb`d{ Sl  
      The org.apache.struts2.dispatcher.multipart. )/u?_)b4"  
      MultiPartRequest parser implementation for a multipart request (file upload) _-^Lr /`G!  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) $~<);dYu0  
at@B>Rb  
1YmB2h[Z  
struts.multipart.saveDir 0^Vc,\P?  
      The directory to use for storing uploaded files rkdwGqG  
      设置存储上传文件的目录夹 LO,G2]  
LB|FVNW/S  
struts.objectFactory p-H q\DP  
      The com.opensymphony.xwork2.ObjectFactory implementation class ).0h4oHSj  
      com.opensymphony.xwork2.ObjectFactory接口(spring) R!i9N'gGG(  
cCd2f>EHw  
struts.objectFactory.spring.autoWire \Ze"Hv  
      Whether Spring should autoWire or not `Tx1?]  
      是否自动绑定Spring :bx q%D%|o  
LY%`O#i.  
struts.objectFactory.spring.useClassCache C ebl"3Q  
      Whether Spring should use its class cache or not -t, .A/?  
      是否spring应该使用自身的cache "Ldi<xq%xl  
Jb'M/iG  
struts.objectTypeDeterminer smLXNO  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class [.O 3z*[9#  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 _h4{Sx  
]~:9b[G2  
struts.serve.static.browserCache SbmakNWJ}  
If static content served by the Struts filter should set browser caching header properties or not kETu@la}  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 3[: |)i)  
iEG`+h'  
struts.serve.static fdIk{o  
      Whether the Struts filter should serve static content or not A`|OPi)  
      是否struts过滤器应该提供静态内容 ,4hQ#x  
^[{\ZX  
struts.tag.altSyntax m"P"iK/Av(  
      Whether to use the alterative syntax for the tags or not 5Uc!;Gd?b  
      是否可以用替代的语法替代tags rULrGoM  
kDM\IyM<\  
struts.ui.templateDir v7+f@Z:N*  
      The directory containing UI templates `2S G{5o;  
      UI templates的目录夹 ALqP;/  
/F;b<kIy8  
struts.ui.theme 75j`3wzu  
      The default UI template theme '"{ IV  
      默认的UI template主题 _C3l 2v'I$  
P>/n!1c  
struts.url.http.port >E&m Np  
      The HTTP port used by Struts URLs P%hi*0pwZ  
      设置http端口 W8:?y*6  
x j6-~<  
struts.url.https.port _@[M0t}g_  
      The HTTPS port used by Struts URLs $~xY6"_}!!  
      设置https端口 w:l/B '%]Y  
&BnK[Q8X  
struts.url.includeParams 9*gD;)!  
      The default includeParams method to generate Struts URLs PT7L65  
      在url中产生 默认的includeParams E\2|  
)J&1uMp{  
okx~F9  
struts.velocity.configfile &CCp@" +  
      The Velocity configuration file path (B@:0}>  
      velocity配置文件路径 H tIl;E  
Fv \yhR  
struts.velocity.contexts w) o^?9T  
      List of Velocity context names d(RSn|[0  
      velocity的context列表 u|l]8T9L  
kYwk'\s  
!ydJ{\;  
struts.velocity.manager.classname l$$N~FN  
      org.apache.struts2.views.velocity.VelocityManager implementation class tSK{Abw1B  
      org.apache.struts2.views.velocity.VelocityManager接口名 .!T]sX_P  
R9X* R3nB  
struts.velocity.toolboxlocation ,&S:(b[D  
      The location of the Velocity toolbox &D, gKT~  
      velocity工具盒的位置 (,~gY=E+  
struts.xslt.nocache LFHV~>d  
      Whether or not XSLT templates should not be cached ek~bXy{O`  
      是否XSLT模版应该被缓存 XJl2_#  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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