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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 hQJo ~'W=  
=KV@&Y^x4  
struts.action.extension f7Yz>To  
      The URL extension to use to determine if the request is meant for a Struts action 6A}eSG3  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ,NDh@VYe  
a~WqUL  
struts.configuration 4&|C}  
      The org.apache.struts2.config.Configuration implementation class Z)NrhJC  
        org.apache.struts2.config.Configuration接口名 |Td_S|:d  
CQ<8P86gt  
struts.configuration.files 9GThyY  
      A list of configuration files automatically loaded by Struts C(s\LI!r  
      struts自动加载的一个配置文件列表 t')h{2&&!2  
Khj=llo,  
struts.configuration.xml.reload  *. 8JP  
      Whether to reload the XML configuration or not (Q'U@{s  
      是否加载xml配置(true,false) P 4QkY#v  
#'C/Gya  
struts.continuations.package )6G" *  
      The package containing actions that use Rife continuations '|&,E#`  
      含有actions的完整连续的package名称 bjlkX[{}I  
xo(k?+P>.  
struts.custom.i18n.resources h`lmC]X _  
      Location of additional localization properties files to load mY`@'  
      加载附加的国际化属性文件(不包含.properties后缀) 9Fk4|+OJ  
` VwN!B:  
struts.custom.properties b"t")U==  
      Location of additional configuration properties files to load v{.\iIg N  
      加载附加的配置文件的位置 FOSbe]  
sB6dp D  
^df x~C  
struts.devMode  ,1 P[  
      Whether Struts is in development mode or not AW/wI6[T  
      是否为struts开发模式 sT`^ljp4  
o%`npi1y  
struts.dispatcher.parametersWorkaround @KA1"Wb_  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic k" YHsn  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) jo_ sAb  
%iJ|H(P  
struts.enable.DynamicMethodInvocation $O9Xx  
      Allows one to disable dynamic method invocation from the URL Q]rqD83((  
        允许动态方法调用 7~b!4x|Z  
h!e2 +4{4{  
struts.freemarker.manager.classname IqUp4}  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class `(DJs-xD  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 =VSkl;(O  
etyCrQ ?U  
struts.i18n.encoding iCrxV{   
      The encoding to use for localization messages o@/xPo|  
      国际化信息内码 %!y89x=E  
:<GfETIs  
struts.i18n.reload P+Z\3re  
      Whether the localization messages should automatically be reloaded [bjN f2  
      是否国际化信息自动加载 RtC'v";6  
}1U*A#aN7K  
struts.locale ia4k:\  
      The default locale for the Struts application b/<mRQ{  
      默认的国际化地区信息 I4D<WoU;dJ  
Q\9K2=4  
struts.mapper.class 4x,hj  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class }Hy ~i  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ;S JF%@x  
7>n"}8i  
struts.multipart.maxSize IgM v =^U  
      The maximize size of a multipart request (file upload) )X5(#E  
      multipart请求信息的最大尺寸(文件上传用) 4o5i ."l  
A#DR9Eq  
struts.multipart.parser z[9UQU~x?  
      The org.apache.struts2.dispatcher.multipart. G7-!`-Nk  
      MultiPartRequest parser implementation for a multipart request (file upload) @-"R$HOT  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) {1~T]5  
z%:&#1)  
eVt1d2.O  
struts.multipart.saveDir 4tJa-7  
      The directory to use for storing uploaded files #a,9B-X  
      设置存储上传文件的目录夹 lTz6"/  
T PYDs+U  
struts.objectFactory lf$Ve  
      The com.opensymphony.xwork2.ObjectFactory implementation class '*R%^RK  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ::"E?CQLV  
tu}>:mk  
struts.objectFactory.spring.autoWire sN/+   
      Whether Spring should autoWire or not ;/sHWI f+Z  
      是否自动绑定Spring ctJ&URCi#  
8MZ$T3IM  
struts.objectFactory.spring.useClassCache \:&@;!a  
      Whether Spring should use its class cache or not \ =nrt?  
      是否spring应该使用自身的cache d`%M g&  
K2ewucn  
struts.objectTypeDeterminer bQQVj?8jp  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 7NF/]y4w  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Q`6i=mB;  
wk[ wNIu  
struts.serve.static.browserCache R$6qoqv{yG  
If static content served by the Struts filter should set browser caching header properties or not FFzH!=7T?  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 4/*q0M{}B  
{#hVD4$b  
struts.serve.static flnVYQe  
      Whether the Struts filter should serve static content or not $H*/;`,\[  
      是否struts过滤器应该提供静态内容 !7 _\P7M  
b^Cfhy^RTq  
struts.tag.altSyntax c`kQvXx  
      Whether to use the alterative syntax for the tags or not z<n-Gzwk  
      是否可以用替代的语法替代tags &<1 `O  
X")|Uw8Kl/  
struts.ui.templateDir }ug xN0  
      The directory containing UI templates D>kD1B1  
      UI templates的目录夹 :zp`6l  
|wp ,f%WK  
struts.ui.theme 4hAJ!7[A.  
      The default UI template theme k-jahm4  
      默认的UI template主题 aj8Rb&  
sb.J bE8  
struts.url.http.port yrr) y  
      The HTTP port used by Struts URLs ^T079=$5  
      设置http端口 ,8VU&?`<}  
bToq$%sCg  
struts.url.https.port .+.j*>q>u  
      The HTTPS port used by Struts URLs .SS<MDcqIt  
      设置https端口 Yl({)qK{  
npH?4S-8G  
struts.url.includeParams ?F@%S3h.  
      The default includeParams method to generate Struts URLs 1r9f[j~  
      在url中产生 默认的includeParams mTf<  
T>d.#  
&ab|2*3?X  
struts.velocity.configfile q``wt  
      The Velocity configuration file path Y83GKh,*  
      velocity配置文件路径 }iww:H-1  
:tj-gDa\Y  
struts.velocity.contexts ;O=h$8]  
      List of Velocity context names Vfs $ VY2.  
      velocity的context列表 D"l+iVbBP  
B3 zk(RNZ  
NiSO'=y$n  
struts.velocity.manager.classname ?M}S| dsmE  
      org.apache.struts2.views.velocity.VelocityManager implementation class #h'@5 l  
      org.apache.struts2.views.velocity.VelocityManager接口名 C"eXs#A  
P3o @gkXP  
struts.velocity.toolboxlocation Pq p *  
      The location of the Velocity toolbox }nrXxfu  
      velocity工具盒的位置 GDhM<bVqM*  
struts.xslt.nocache `8g7q 5  
      Whether or not XSLT templates should not be cached <"tDAx  
      是否XSLT模版应该被缓存 I.jZ wW!r  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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