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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 |V(0GB  
GLODVcjf  
struts.action.extension W%w~ah|/]  
      The URL extension to use to determine if the request is meant for a Struts action 0*v2y*2V  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 W*Y/l~x}  
$:^td/p J  
struts.configuration Ho]su?  
      The org.apache.struts2.config.Configuration implementation class zT{ VE+=  
        org.apache.struts2.config.Configuration接口名 w!XD/j N  
W@esITr  
struts.configuration.files -Qe'YBy:  
      A list of configuration files automatically loaded by Struts Uw:"n]G]D?  
      struts自动加载的一个配置文件列表 M3au{6y  
d_P` qA  
struts.configuration.xml.reload #0<XNLM  
      Whether to reload the XML configuration or not Pzem{y7Ir  
      是否加载xml配置(true,false) 1 -b_~DF  
$pz/?>!  
struts.continuations.package +cRn%ioVi  
      The package containing actions that use Rife continuations [N'h%1]\  
      含有actions的完整连续的package名称 .]K%G\*`:  
Vt ohL+  
struts.custom.i18n.resources h@BY]80  
      Location of additional localization properties files to load wgA_38To  
      加载附加的国际化属性文件(不包含.properties后缀) y)<q /  
to&m4+5?6  
struts.custom.properties [-x7_=E#  
      Location of additional configuration properties files to load k;W XB|k  
      加载附加的配置文件的位置 `H+ lPM66  
oL<St$1  
KY^Z  
struts.devMode "wc<B4"  
      Whether Struts is in development mode or not 2Z%O7V~u  
      是否为struts开发模式 D43z9z-:L  
ss-D(K"  
struts.dispatcher.parametersWorkaround e:W{OIz:  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 6MI8zRX  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ,"ql5Q4  
"Rl}VeDY  
struts.enable.DynamicMethodInvocation *lb<$E]="!  
      Allows one to disable dynamic method invocation from the URL >-c8q]()ly  
        允许动态方法调用 K,UMqAmk  
F:ELPs4"  
struts.freemarker.manager.classname &c #N)U  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class T]$U""  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 A%-6`>  
Qwc"[N4H  
struts.i18n.encoding ?h2}#wg  
      The encoding to use for localization messages 8;X-)&R  
      国际化信息内码 zBH2@d3W  
WEpoBP CL  
struts.i18n.reload e';_Y>WQy  
      Whether the localization messages should automatically be reloaded )`}:8y?  
      是否国际化信息自动加载 aQ~s`^D  
D)Dr__x  
struts.locale wA.\i  
      The default locale for the Struts application MO]&bHH7;  
      默认的国际化地区信息 y?# Loe  
dqAw5[qMJ  
struts.mapper.class h `wD  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class S tyfB  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 .|=\z9_7S8  
E} .^kc[(4  
struts.multipart.maxSize et+0FF ,  
      The maximize size of a multipart request (file upload) P|> ~_$W  
      multipart请求信息的最大尺寸(文件上传用) ?fS9J  
^C%<l( b  
struts.multipart.parser ctV,Q3'Z  
      The org.apache.struts2.dispatcher.multipart. QCJM&  
      MultiPartRequest parser implementation for a multipart request (file upload) I?NyM  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) DL.!G  
'f|o{  
L rPkxmR  
struts.multipart.saveDir y?!"6t7&  
      The directory to use for storing uploaded files 4.(4x&  
      设置存储上传文件的目录夹 *|l/6!WM  
:H[6Lg\*  
struts.objectFactory G / 5%.Bf@  
      The com.opensymphony.xwork2.ObjectFactory implementation class 0(btA~'*  
      com.opensymphony.xwork2.ObjectFactory接口(spring) SY8C4vb'h  
a: K[ y  
struts.objectFactory.spring.autoWire CH/rp4NeSy  
      Whether Spring should autoWire or not t >sE x:  
      是否自动绑定Spring nF/OPd  
~_ a-E  
struts.objectFactory.spring.useClassCache 4/)k)gLI  
      Whether Spring should use its class cache or not Qci]i)s$js  
      是否spring应该使用自身的cache -{_PuJ "  
=":,.Ttq41  
struts.objectTypeDeterminer 3mni>*q7d  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Sx\]!B@DSu  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 h.fq,em+H  
,2)6s\]/b  
struts.serve.static.browserCache lys#G:H]  
If static content served by the Struts filter should set browser caching header properties or not &~w}_Fjk  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 BluVmM3Vj  
h7I{ 4  
struts.serve.static E!AE4B1bd  
      Whether the Struts filter should serve static content or not u]gxFG "   
      是否struts过滤器应该提供静态内容 8i,K~Bu=  
kNL\m[W8$  
struts.tag.altSyntax 0?M:6zf_iv  
      Whether to use the alterative syntax for the tags or not [8*)8jP3  
      是否可以用替代的语法替代tags Xx(T">]vJ  
vcd\GN*4f  
struts.ui.templateDir { BHO/q3  
      The directory containing UI templates G#1GXFDO{  
      UI templates的目录夹 PxE3K-S)G  
Lh<).<S  
struts.ui.theme [1KuzCcK}  
      The default UI template theme bu"!jHPB  
      默认的UI template主题 0|b>I!_"g  
&VcV$8k  
struts.url.http.port ]+$?u&0?w  
      The HTTP port used by Struts URLs [trwBZ^D~  
      设置http端口 bJ;'`sw1  
;UP$yM;  
struts.url.https.port E.>4C[O  
      The HTTPS port used by Struts URLs 2Hv+W-6v  
      设置https端口 YAmb`CP  
>"<Wjr8W!$  
struts.url.includeParams 3yXY.>'  
      The default includeParams method to generate Struts URLs k$7Jj-+~  
      在url中产生 默认的includeParams {}Za_(Y,]  
y)gKxRaCS  
[c06 N$:  
struts.velocity.configfile xP,hTE  
      The Velocity configuration file path cFWc<55aX6  
      velocity配置文件路径 FsryEHz  
x$%!U[!3  
struts.velocity.contexts I`p;F!s  
      List of Velocity context names as_PoCoss  
      velocity的context列表 C6y&#uX\  
eR"<33{  
BF<ikilR  
struts.velocity.manager.classname Z(!\% mn  
      org.apache.struts2.views.velocity.VelocityManager implementation class @ry_nKr9  
      org.apache.struts2.views.velocity.VelocityManager接口名 ]g&TKm  
y^%y<~f  
struts.velocity.toolboxlocation IaXeRq?<  
      The location of the Velocity toolbox .6'qoo_N  
      velocity工具盒的位置 tnG# IU *  
struts.xslt.nocache pHJ3nHLQ  
      Whether or not XSLT templates should not be cached 6K<K  
      是否XSLT模版应该被缓存 Tu7QCr5*  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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