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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 0nh;0Z  
h;^H*Y&`  
struts.action.extension 8op,;Z7Y  
      The URL extension to use to determine if the request is meant for a Struts action ugZ-*e7  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 HW{si]~q  
D 2U")g}U  
struts.configuration zjzW;bo( d  
      The org.apache.struts2.config.Configuration implementation class Y55Yo5<j/+  
        org.apache.struts2.config.Configuration接口名 |\1!*Qp  
7lo`)3mB  
struts.configuration.files k3-'!dW<  
      A list of configuration files automatically loaded by Struts ;oKN8vI#7  
      struts自动加载的一个配置文件列表 &I&:  
Ac0^`  
struts.configuration.xml.reload 9rB,7%@EL  
      Whether to reload the XML configuration or not 5BL4VGwJ  
      是否加载xml配置(true,false) $*%ipD}f  
@Gh?|d7bD  
struts.continuations.package @+gr>a1K#  
      The package containing actions that use Rife continuations $yZ(c#L  
      含有actions的完整连续的package名称 ; W/K7}  
n^svRM]eQ  
struts.custom.i18n.resources 8IAf 9  
      Location of additional localization properties files to load zfAkWSY  
      加载附加的国际化属性文件(不包含.properties后缀) vS! TnmF  
:V(+]<  
struts.custom.properties 7rc6  
      Location of additional configuration properties files to load 4QK~qAi  
      加载附加的配置文件的位置 986y\9Zu  
P4M*vZq)  
3$.R=MQ7  
struts.devMode }mz6z<pJ_  
      Whether Struts is in development mode or not ou r$Ka31  
      是否为struts开发模式 ~f.fg@v`+v  
B1EI'<S  
struts.dispatcher.parametersWorkaround DrG9Kky{  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Rmq8lU  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) q`l&G%  
$R\D[`y|  
struts.enable.DynamicMethodInvocation ileqI/40f  
      Allows one to disable dynamic method invocation from the URL .,)C^hs@  
        允许动态方法调用 Dlc=[kf9  
z!z+E%H^  
struts.freemarker.manager.classname (&2 5 8i,  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class {^r8uKo:~  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 q8j W&_  
*PXlbb  
struts.i18n.encoding )FNvtLZ  
      The encoding to use for localization messages '7+e!>"  
      国际化信息内码 /[[_}\xI%  
j89C~xP6  
struts.i18n.reload i\2d1Z  
      Whether the localization messages should automatically be reloaded % R18  
      是否国际化信息自动加载 e{ce \  
EFb1Y{u^\!  
struts.locale ,a:!"Z^ f  
      The default locale for the Struts application \S[7-:Lu^  
      默认的国际化地区信息 &rTOJ 1)V}  
U]Iypl`l  
struts.mapper.class 0 i76(2  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 7J 0=HbH  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 @Axwj   
I:6N?lD4}0  
struts.multipart.maxSize IoEIT Kd  
      The maximize size of a multipart request (file upload) >dnH  
      multipart请求信息的最大尺寸(文件上传用) UDJ{ iZ  
. 6wyu7oK  
struts.multipart.parser w]4=uL6  
      The org.apache.struts2.dispatcher.multipart. g]'RwI  
      MultiPartRequest parser implementation for a multipart request (file upload) oKl^Ttr  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) TRQ@=.  
[ n[!RddY  
9?VyF'r=  
struts.multipart.saveDir ]Iku(<*Ya  
      The directory to use for storing uploaded files 9#:b+Amzz  
      设置存储上传文件的目录夹 s Zan.Kc#  
; TaR1e0  
struts.objectFactory N;<.::x  
      The com.opensymphony.xwork2.ObjectFactory implementation class d?j_L`?+  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ~0mO<0~  
-`z`K08sT  
struts.objectFactory.spring.autoWire d)'am 3Q  
      Whether Spring should autoWire or not T gpf0(  
      是否自动绑定Spring j,q8n`@  
8hx4s(1!  
struts.objectFactory.spring.useClassCache a ?LrSk`  
      Whether Spring should use its class cache or not < a g|#  
      是否spring应该使用自身的cache M;BDo(1  
9uV'# sR  
struts.objectTypeDeterminer 'baew8Q#  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class \q2#ef@2  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 CNC3">Dk~9  
taS2b#6\+  
struts.serve.static.browserCache BPp`r_m8w}  
If static content served by the Struts filter should set browser caching header properties or not k4|9'V&1*6  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 vqq7IV)|  
[dm&I#m=  
struts.serve.static kB|j N~  
      Whether the Struts filter should serve static content or not 1 11s%  
      是否struts过滤器应该提供静态内容 XIM!]  
5XSr K  
struts.tag.altSyntax U@W3x@  
      Whether to use the alterative syntax for the tags or not zEG6T*  
      是否可以用替代的语法替代tags ]0`*gKA  
[dG&"%5vD  
struts.ui.templateDir Y\7>>?  
      The directory containing UI templates w2-:!,X  
      UI templates的目录夹 <ptgFR+  
j2V"w&>b}  
struts.ui.theme gy|L!_1Z8  
      The default UI template theme QXXB>gOY5  
      默认的UI template主题 4)L(41h  
nXgnlb=  
struts.url.http.port Vy]y73~  
      The HTTP port used by Struts URLs +T*=JHOD  
      设置http端口 /S32)=(  
X?,ly3,  
struts.url.https.port AT){OQF8&  
      The HTTPS port used by Struts URLs 2V6=F[T  
      设置https端口 c/l%:!A  
axJuJ`+Y  
struts.url.includeParams =oZHN,  
      The default includeParams method to generate Struts URLs mWOW39Ku  
      在url中产生 默认的includeParams >]6f!;Rt  
=T73660  
OE{{,HFa`G  
struts.velocity.configfile hlY]s &0  
      The Velocity configuration file path Lu.D,oP  
      velocity配置文件路径 q^:>sfd  
~r<@`[-L  
struts.velocity.contexts l^.d 3b  
      List of Velocity context names Dj Z;LE>  
      velocity的context列表 YCv)DW;  
?C( ' z7  
) >_xHc?  
struts.velocity.manager.classname ]V|rOtxb  
      org.apache.struts2.views.velocity.VelocityManager implementation class &`#k 1t'  
      org.apache.struts2.views.velocity.VelocityManager接口名 VrV )qfG  
zV)(i<Q  
struts.velocity.toolboxlocation K gN=b  
      The location of the Velocity toolbox RrFq"  
      velocity工具盒的位置 F32N e6Y6"  
struts.xslt.nocache 8v$ 2*$  
      Whether or not XSLT templates should not be cached zf@gAvJ  
      是否XSLT模版应该被缓存 N?xZ]?T  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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