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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 &8]d }-e  
N(y\dL=v  
struts.action.extension Lz:(6`S  
      The URL extension to use to determine if the request is meant for a Struts action K)\M5id]  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。  Fl1;;F  
" QWq_R  
struts.configuration .8y3O]  
      The org.apache.struts2.config.Configuration implementation class ?zQA  
        org.apache.struts2.config.Configuration接口名 k[HAkB \{  
op6CA"w  
struts.configuration.files .R9IL-3fO  
      A list of configuration files automatically loaded by Struts A@sZ14+f  
      struts自动加载的一个配置文件列表 #1c_evH  
_ B 5gR  
struts.configuration.xml.reload A` AaTP  
      Whether to reload the XML configuration or not []A%<EI7  
      是否加载xml配置(true,false) OnK~3j  
x}Aw)QCh+r  
struts.continuations.package ,{LG4qvP  
      The package containing actions that use Rife continuations ,;(PwJe  
      含有actions的完整连续的package名称 &9"-`-[e:  
"Q?k'^@  
struts.custom.i18n.resources 9\]^|?zQ`  
      Location of additional localization properties files to load uvV;Mlo]  
      加载附加的国际化属性文件(不包含.properties后缀) Nqrmp" ]  
y^}6!>Ou:  
struts.custom.properties cdG |m[  
      Location of additional configuration properties files to load 1$81E.  
      加载附加的配置文件的位置 S)%_weLW7  
,M3z!=oIGn  
<E':[.zC  
struts.devMode KIL18$3J  
      Whether Struts is in development mode or not sa1mC  
      是否为struts开发模式 AV@\ +0  
|t\|:E>" }  
struts.dispatcher.parametersWorkaround wAbp3hX  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic H]&!'\aUz  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) GoE#Mxhxo  
dyQh:u -  
struts.enable.DynamicMethodInvocation z^s ST  
      Allows one to disable dynamic method invocation from the URL 4FA|[An  
        允许动态方法调用 ui'F'"tPz  
|0{ i9 .=  
struts.freemarker.manager.classname Q2C)tVK+  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class h'^FrWaU/  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 jeDlH6X'  
QJ];L7Hbo  
struts.i18n.encoding B[NJ^b|  
      The encoding to use for localization messages \_oy$>;  
      国际化信息内码 Ugi5OKdj7)  
Ku3!*n_\  
struts.i18n.reload |l90g|isJ  
      Whether the localization messages should automatically be reloaded Wp*sP Z  
      是否国际化信息自动加载 a'[)9:  
 a@|.;#FF  
struts.locale - 8syjKTg  
      The default locale for the Struts application Mn"/#tXL-  
      默认的国际化地区信息 ~eo^`4O{{  
;]h.m)~|  
struts.mapper.class n0.8)=;2  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class >=!AL,:  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 _hoAW8i  
F7 uhuqA]N  
struts.multipart.maxSize u[t>Tg2R  
      The maximize size of a multipart request (file upload) g)M#{"H  
      multipart请求信息的最大尺寸(文件上传用) ?1m ,SK  
aBCOGtf  
struts.multipart.parser silp<13HN  
      The org.apache.struts2.dispatcher.multipart. ,cQ)cY[  
      MultiPartRequest parser implementation for a multipart request (file upload) psD[j W  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) J%4HNW*p  
\|!gPc%s  
CTU9~~Xk  
struts.multipart.saveDir G4yUC<TqBP  
      The directory to use for storing uploaded files {gIEZ{  
      设置存储上传文件的目录夹 7Jc<.Z"/Gd  
^%zNa6BL  
struts.objectFactory pU[K%@sC  
      The com.opensymphony.xwork2.ObjectFactory implementation class 1OPfRDn.bk  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ,$i<@2/=m  
/a%KS3>V*  
struts.objectFactory.spring.autoWire Lnx2xoNk  
      Whether Spring should autoWire or not ZW2s[p r  
      是否自动绑定Spring Ko-QR(  
(v|`LmV  
struts.objectFactory.spring.useClassCache 0sabh`iQ^  
      Whether Spring should use its class cache or not O &\<FT5  
      是否spring应该使用自身的cache Gavkil  
GsRt5?X/*  
struts.objectTypeDeterminer T=yCN#cqQ`  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class M[vCpa  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 `L">"V`$Bj  
2E([#Pzb  
struts.serve.static.browserCache }amE6  
If static content served by the Struts filter should set browser caching header properties or not 5z[6rT=a  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 `0[fLEm  
R_~F6O^EO  
struts.serve.static " #J}A0  
      Whether the Struts filter should serve static content or not *U2Ck<"]  
      是否struts过滤器应该提供静态内容 2q$X>ImI$  
rOhA*_EG  
struts.tag.altSyntax 7Fc |  
      Whether to use the alterative syntax for the tags or not 3V!W@[ }:  
      是否可以用替代的语法替代tags b__n~\q_  
ur`V{9g  
struts.ui.templateDir 2O^32TdS  
      The directory containing UI templates tl2Lq0  
      UI templates的目录夹 _qk9o  
}cyq'm i  
struts.ui.theme 5M]6'X6I  
      The default UI template theme dfXV1B5  
      默认的UI template主题 hiT9H5 6 >  
u'{sB5_H  
struts.url.http.port Vc{/o=1u  
      The HTTP port used by Struts URLs jeyaT^F(   
      设置http端口 ~ 6TfW~V  
PwRNBb}6  
struts.url.https.port ~91uk3ST?  
      The HTTPS port used by Struts URLs yFa&GxSq  
      设置https端口 d9ZDpzx B  
#IcT @(  
struts.url.includeParams c|8KT  
      The default includeParams method to generate Struts URLs >7eu'  
      在url中产生 默认的includeParams 0`zm>fh}  
bt. K<Y0  
fte!Ll'  
struts.velocity.configfile 7~QwlU3n<F  
      The Velocity configuration file path &ij^FAM  
      velocity配置文件路径 #0#V$AA>  
E}E7VQjM  
struts.velocity.contexts t2`X!`  
      List of Velocity context names c'm-XL_La  
      velocity的context列表 _,Io(QS  
Ji)a%j1V9  
oc,U4+T  
struts.velocity.manager.classname rYP8V >  
      org.apache.struts2.views.velocity.VelocityManager implementation class BBZ)H6TzL  
      org.apache.struts2.views.velocity.VelocityManager接口名 8=b{'s^^F  
FeincZ!M  
struts.velocity.toolboxlocation ~Y}Z4" o  
      The location of the Velocity toolbox %K/G+  
      velocity工具盒的位置 -6*OF.Ag`  
struts.xslt.nocache 8*Nt&`@  
      Whether or not XSLT templates should not be cached l)2HHu<  
      是否XSLT模版应该被缓存 cfQh  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
10+5=?,请输入中文答案:十五