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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 L*~J%7  
T16{_  
struts.action.extension jb^N|zb  
      The URL extension to use to determine if the request is meant for a Struts action 1SR+m>pL  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 gwWN%Z"  
0eS)&GdR  
struts.configuration Q !(pE&  
      The org.apache.struts2.config.Configuration implementation class Y2?.}ZO  
        org.apache.struts2.config.Configuration接口名 &w1P\4?G  
a! u rew#  
struts.configuration.files ~R@Nd~L  
      A list of configuration files automatically loaded by Struts 57g</ p  
      struts自动加载的一个配置文件列表 ''Cay0h  
Z>^pCc\lH  
struts.configuration.xml.reload 2[ r^M'J  
      Whether to reload the XML configuration or not qvv2O1c"A  
      是否加载xml配置(true,false) 4~N[%>zJ  
,-OCc!7K  
struts.continuations.package J:kmqk!  
      The package containing actions that use Rife continuations  &CG*)bE  
      含有actions的完整连续的package名称 ]7/ b/J  
U_{Ux 2  
struts.custom.i18n.resources ~O1&@xX  
      Location of additional localization properties files to load KR%{a(V;7  
      加载附加的国际化属性文件(不包含.properties后缀) 4NdN< #Lr  
nM0[P6p  
struts.custom.properties V,[d66H=N  
      Location of additional configuration properties files to load 59Gk3frk(  
      加载附加的配置文件的位置 }@^4,FKJ  
gc?#pP  
G7CG~:3h+  
struts.devMode o#hjvg  
      Whether Struts is in development mode or not EKz Ad  
      是否为struts开发模式 i}~SDY  
v$ub~Q6W  
struts.dispatcher.parametersWorkaround O/!bG~\Y  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic :Pv*, qHE  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ScSZGs 5&  
o,P.& m{?  
struts.enable.DynamicMethodInvocation @GvztVYo  
      Allows one to disable dynamic method invocation from the URL V._(q^  
        允许动态方法调用 1NcCy! +  
UYz0PSV=.  
struts.freemarker.manager.classname 41_SRh7N  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class [S@}T zE  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 o'$jNciOW  
M5trNSL&u  
struts.i18n.encoding ~M(5Ho  
      The encoding to use for localization messages 0JD~M\-!^a  
      国际化信息内码 .&x}NYX4  
Q(o!iI:Gts  
struts.i18n.reload @"8~Y|L93  
      Whether the localization messages should automatically be reloaded m"-G6BKS  
      是否国际化信息自动加载 dzxI QlP  
|#cAsf_{  
struts.locale @ta?&Qf)  
      The default locale for the Struts application 0 pNo`Bm  
      默认的国际化地区信息 -kc(u1!  
1"$R 3@s;  
struts.mapper.class qvTKfIl{  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class bm6hZA|  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 -aN":?8(G  
(txt8q  
struts.multipart.maxSize x3;jWg~'  
      The maximize size of a multipart request (file upload) 0s!N@ ,T  
      multipart请求信息的最大尺寸(文件上传用) ni0LQuBp  
"VQ|E d  
struts.multipart.parser LJ l1v  
      The org.apache.struts2.dispatcher.multipart. u#VweXyU  
      MultiPartRequest parser implementation for a multipart request (file upload) tGqQJT#mr7  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 1g81S_T .  
)rbc;{.  
zP|*(*  
struts.multipart.saveDir c 85O_J  
      The directory to use for storing uploaded files (NM6micc  
      设置存储上传文件的目录夹 V^ Y*xZ  
I1~G$)w#  
struts.objectFactory X{s/``n  
      The com.opensymphony.xwork2.ObjectFactory implementation class {a@hRY_  
      com.opensymphony.xwork2.ObjectFactory接口(spring) F_ _H(}d  
Es~DHX  
struts.objectFactory.spring.autoWire {\luieG  
      Whether Spring should autoWire or not QglYU  
      是否自动绑定Spring ny~W]1  
?.~]mvOR  
struts.objectFactory.spring.useClassCache rBS2>?  
      Whether Spring should use its class cache or not -P*xyI  
      是否spring应该使用自身的cache ,NDxFy;d  
ha5 bD%  
struts.objectTypeDeterminer @n>{&^-c  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class KKV)DExv?  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 2!{N[*)  
)I?RMR  
struts.serve.static.browserCache xV?*!m$V%R  
If static content served by the Struts filter should set browser caching header properties or not $u&|[vcP0  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 N]V/83_  
OM1*Iy  
struts.serve.static v<%]XHN  
      Whether the Struts filter should serve static content or not wd"TM  
      是否struts过滤器应该提供静态内容 0&f\7z  
FSFFk~  
struts.tag.altSyntax I>d I[U  
      Whether to use the alterative syntax for the tags or not _qEWu Do  
      是否可以用替代的语法替代tags 8>2&h  
HqB|SWyK  
struts.ui.templateDir S]vW&r3`  
      The directory containing UI templates Jm%mm SYK  
      UI templates的目录夹 )K8P+zn~  
tx gvVQ  
struts.ui.theme n#)PvV~  
      The default UI template theme R&]c"cO L8  
      默认的UI template主题 u0wn=Dg  
Ck:#1-t8{  
struts.url.http.port o; 6fvn  
      The HTTP port used by Struts URLs r(pwOOx  
      设置http端口 5XI;<^n2  
xGwTk  
struts.url.https.port `8mD7xsg$  
      The HTTPS port used by Struts URLs -3u@hp_  
      设置https端口 h=!M6yap<  
<>SR4  
struts.url.includeParams f<'n5}{RO0  
      The default includeParams method to generate Struts URLs ULV)0SB  
      在url中产生 默认的includeParams $+A%ODv  
qPL^zM+  
Czq1 kz  
struts.velocity.configfile ]z+*?cc  
      The Velocity configuration file path N[#iT&@T}/  
      velocity配置文件路径 )3BR[*u*  
e 4 p*51ra  
struts.velocity.contexts sM #!Xl;  
      List of Velocity context names <jpeu^7  
      velocity的context列表 AD~~e% s=  
9Q,Msl4n  
[q|?f?Zl  
struts.velocity.manager.classname |\i:LG1  
      org.apache.struts2.views.velocity.VelocityManager implementation class YtV |e|aD  
      org.apache.struts2.views.velocity.VelocityManager接口名 sI^@A=.@  
IXbdS9,>F  
struts.velocity.toolboxlocation c-[Q,c  
      The location of the Velocity toolbox z\xiACIc  
      velocity工具盒的位置 _8,vk-,'  
struts.xslt.nocache A2}Z *U(;  
      Whether or not XSLT templates should not be cached fBHkLRFH  
      是否XSLT模版应该被缓存 CPc"  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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