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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ;-sF%c  
$5l=&  
struts.action.extension T%:W6fH7  
      The URL extension to use to determine if the request is meant for a Struts action <N;HB&mr  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 B1gBvss  
RIl+QA  
struts.configuration Y_&)>;  
      The org.apache.struts2.config.Configuration implementation class G&*2h2,]  
        org.apache.struts2.config.Configuration接口名 )![? JXf  
('p~h-9Vi  
struts.configuration.files m]U`7!  
      A list of configuration files automatically loaded by Struts ny~~xQ"  
      struts自动加载的一个配置文件列表 aTY\mKk  
?g'? Ou  
struts.configuration.xml.reload *e05{C:kS  
      Whether to reload the XML configuration or not Yf(QU`w_  
      是否加载xml配置(true,false) Go_~8w0<  
)Wm:Ilq  
struts.continuations.package 1vBXO bk  
      The package containing actions that use Rife continuations pEE.%U  
      含有actions的完整连续的package名称 F4Gv=q)Z  
'`Z5 .<n7p  
struts.custom.i18n.resources {o[ *S%Z"  
      Location of additional localization properties files to load Cc,,e`  
      加载附加的国际化属性文件(不包含.properties后缀) rt\4We,7  
h=~ TgTv  
struts.custom.properties #}!Ge  
      Location of additional configuration properties files to load c`&<"Us  
      加载附加的配置文件的位置 ON=6w_  
ZjXpMx,  
3v%V\kO=F  
struts.devMode EWg\\90  
      Whether Struts is in development mode or not wGf SVA-q\  
      是否为struts开发模式 x, ^j=n  
LY^pmak  
struts.dispatcher.parametersWorkaround Hh8)d/D  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 5)GO  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) C_= WL(  
9IC|2w66  
struts.enable.DynamicMethodInvocation v9OK <  
      Allows one to disable dynamic method invocation from the URL F|XRh6j  
        允许动态方法调用 /_P5U E(  
rBZ 0(XSZQ  
struts.freemarker.manager.classname i7w>Nvj]  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class sc^TElic  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 n_51-^* z  
58Fan*fO  
struts.i18n.encoding &pD6Qq{  
      The encoding to use for localization messages ]?`t spm<t  
      国际化信息内码 : )\<  
$>;U^-#3  
struts.i18n.reload PI#xRKt  
      Whether the localization messages should automatically be reloaded Ln})\ UDK)  
      是否国际化信息自动加载 xCMcS~ 3/  
/gKX%`ZF/r  
struts.locale !(soMv  
      The default locale for the Struts application $!x8XpR8s  
      默认的国际化地区信息 x\Bl^1&  
q(J3fjY)  
struts.mapper.class 39QAj&  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class C0X_t  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 8rXu^  
A-&C.g  
struts.multipart.maxSize io$!z=W  
      The maximize size of a multipart request (file upload) a 8Jn.!  
      multipart请求信息的最大尺寸(文件上传用) Uzb~L_\Rmt  
jLf.qf8qm  
struts.multipart.parser k!K}<sX2  
      The org.apache.struts2.dispatcher.multipart. shOQ/  
      MultiPartRequest parser implementation for a multipart request (file upload) 9air" 4  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) hSq3LoHV  
sV+/JDl  
!K#Q[Ee  
struts.multipart.saveDir !PI& y  
      The directory to use for storing uploaded files X9#;quco@  
      设置存储上传文件的目录夹 s HSZIkB-r  
Tt.wY=,K  
struts.objectFactory ?A /+DRQ(  
      The com.opensymphony.xwork2.ObjectFactory implementation class vl<W`)'  
      com.opensymphony.xwork2.ObjectFactory接口(spring) i*'6"  
V_?5cwZ  
struts.objectFactory.spring.autoWire :;S]jNy}j)  
      Whether Spring should autoWire or not  pojQ/  
      是否自动绑定Spring e`fN+  
CfA^Xp@vc  
struts.objectFactory.spring.useClassCache Y=l91dxGI  
      Whether Spring should use its class cache or not Cyg\FHs  
      是否spring应该使用自身的cache WUSkN;idVG  
hTZaI*  
struts.objectTypeDeterminer jiMI&cl  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class & Me%ZM0  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 *4;MO2g  
VQO6!ToKY  
struts.serve.static.browserCache *wcb5p  
If static content served by the Struts filter should set browser caching header properties or not PK@hf[YHe  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 B(x i  
^<#08L;  
struts.serve.static /ov&h;  
      Whether the Struts filter should serve static content or not FV>LD% uu  
      是否struts过滤器应该提供静态内容 )pV5l|`  
< ) L'h  
struts.tag.altSyntax gN|[n.W4  
      Whether to use the alterative syntax for the tags or not f\FubL  
      是否可以用替代的语法替代tags -(4)lw>U  
;H5PiSq;z  
struts.ui.templateDir )>$@cH  
      The directory containing UI templates 4i>sOP3 B  
      UI templates的目录夹 \Jr ta  
| -l)$i@  
struts.ui.theme st"uD\L1p:  
      The default UI template theme /l-lkG5  
      默认的UI template主题 ]42bd  
Mj2o>N2,  
struts.url.http.port sBGYgBu!a  
      The HTTP port used by Struts URLs &R:$h*Wt|  
      设置http端口 g z-X4A"  
r]p 0O(  
struts.url.https.port ZtPq */'  
      The HTTPS port used by Struts URLs Zb<IZ)i#1  
      设置https端口 X(nbfh?n  
pZ?7'+u$L  
struts.url.includeParams _zq"<Q c  
      The default includeParams method to generate Struts URLs &L[7jA'[J  
      在url中产生 默认的includeParams w,fA-*bZ 0  
AvF:$ kG  
<<}t&qE%2%  
struts.velocity.configfile Nf(Np1?;c  
      The Velocity configuration file path WV]%llj^  
      velocity配置文件路径 *5'U3py  
 'k[O?}  
struts.velocity.contexts .:?X<=!S&t  
      List of Velocity context names >CtT_yhx  
      velocity的context列表 I^>m-M.  
x _&=IyU0j  
bi`{ k\3A  
struts.velocity.manager.classname *GxOiv7"4W  
      org.apache.struts2.views.velocity.VelocityManager implementation class 0F$;]zg  
      org.apache.struts2.views.velocity.VelocityManager接口名 \mRRx#-r%  
34ij5bko_)  
struts.velocity.toolboxlocation 3T)GUzt`  
      The location of the Velocity toolbox +L(0R&C  
      velocity工具盒的位置 i;4|UeUl  
struts.xslt.nocache Q@B--Omfh  
      Whether or not XSLT templates should not be cached 9aYDi)  
      是否XSLT模版应该被缓存 ? +{=>{1  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
10+5=?,请输入中文答案:十五