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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ZZkxEq+D  
^2gDhoO_  
struts.action.extension y Iab3/#`  
      The URL extension to use to determine if the request is meant for a Struts action tSST.o3  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 \m.ap+dFa  
ISQC{K']J  
struts.configuration T;cyU9  
      The org.apache.struts2.config.Configuration implementation class -=W"  
        org.apache.struts2.config.Configuration接口名 49)A.Bh&!  
_(CuuP$`I  
struts.configuration.files ;2o+|U@  
      A list of configuration files automatically loaded by Struts 5ryzAB O\2  
      struts自动加载的一个配置文件列表 4=j,:q  
45Z"U<I,9  
struts.configuration.xml.reload CaX0Jlk*  
      Whether to reload the XML configuration or not K3eYeXV  
      是否加载xml配置(true,false) Hpo/CY/  
Wvhg:vup  
struts.continuations.package ;5wmQFr  
      The package containing actions that use Rife continuations _3q%  
      含有actions的完整连续的package名称 h[5<S&  
KY)r kfo B  
struts.custom.i18n.resources "3!!G=s P  
      Location of additional localization properties files to load M7Pvc%\)  
      加载附加的国际化属性文件(不包含.properties后缀) ;Nw.  
-Jo8jE~>V  
struts.custom.properties -IBf;"8f  
      Location of additional configuration properties files to load Sm(QgZO[4  
      加载附加的配置文件的位置 9Fe(],AzF  
? x1"uH  
^*;{Uj+O~Y  
struts.devMode G;:D6\  
      Whether Struts is in development mode or not ^y@ RfM=A  
      是否为struts开发模式 ~<M/<%o2*  
sGNVZx  
struts.dispatcher.parametersWorkaround dg%Orvuz  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic us&!%`  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) _9Pxtf  
wi#]*\N\9  
struts.enable.DynamicMethodInvocation -*[?E!F  
      Allows one to disable dynamic method invocation from the URL 'xNPy =#  
        允许动态方法调用 b\/:-][  
tK<GU.+  
struts.freemarker.manager.classname 9/lCW  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class UWdPB2x[  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 @PXb^x#k  
G)(\!0pNZ  
struts.i18n.encoding 4<S*gu*W  
      The encoding to use for localization messages 8:Yha4<Bv7  
      国际化信息内码 $9 GRAM.  
^!]Hm&.a  
struts.i18n.reload +ahr-v^R<  
      Whether the localization messages should automatically be reloaded MC.,n$O}6  
      是否国际化信息自动加载 $}d| ~q\  
Onr#p4UT  
struts.locale Zk+J=Cwq}  
      The default locale for the Struts application \`w!v,aM$  
      默认的国际化地区信息 X-oHQu5  
!Jo3>!,j  
struts.mapper.class B;M{v5s~]  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 39;Z+s";  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 =*q|568  
lVywc:X  
struts.multipart.maxSize 4\HB rd#P  
      The maximize size of a multipart request (file upload) h&7]Bp  
      multipart请求信息的最大尺寸(文件上传用) [3a-1,  
55vpnRM  
struts.multipart.parser '1)BZ!  
      The org.apache.struts2.dispatcher.multipart. @`:n+r5u  
      MultiPartRequest parser implementation for a multipart request (file upload) C;DNL^  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Ep% 5wR  
0dKI+zgr  
kl.)A-6V  
struts.multipart.saveDir |>( @n{  
      The directory to use for storing uploaded files I*e8 5wef  
      设置存储上传文件的目录夹 G Q&9b_  
r`]&{0}23  
struts.objectFactory K 7)1wiEj  
      The com.opensymphony.xwork2.ObjectFactory implementation class 0G/VbS  
      com.opensymphony.xwork2.ObjectFactory接口(spring) _(J7^rN  
{mPalo A  
struts.objectFactory.spring.autoWire nZ>bOP+,  
      Whether Spring should autoWire or not (7RxCo=X  
      是否自动绑定Spring Cc:4n1|]>  
q #f U*  
struts.objectFactory.spring.useClassCache :$&%Pxm  
      Whether Spring should use its class cache or not $tyF(RybG  
      是否spring应该使用自身的cache +w Oa  
,jWMJ0X/N=  
struts.objectTypeDeterminer i/rdPbq  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class I xT[1$e  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ; Xy\7tx  
73/kyu-0%  
struts.serve.static.browserCache Q)\7(n  
If static content served by the Struts filter should set browser caching header properties or not EG5'kYw2  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 $'3`$   
+zxj-di M  
struts.serve.static u,0N[.&N  
      Whether the Struts filter should serve static content or not 2 Mc/ah  
      是否struts过滤器应该提供静态内容 Sf>R7.lpP  
_//)|.6c3  
struts.tag.altSyntax bWv4'Y!p  
      Whether to use the alterative syntax for the tags or not -If-c'"G  
      是否可以用替代的语法替代tags `fEB,0j^  
&x{CC@g/  
struts.ui.templateDir nu,#y"WQ  
      The directory containing UI templates ./@!k[  
      UI templates的目录夹 #n^P[Zw  
-bHQy:  
struts.ui.theme YmM+x=G:  
      The default UI template theme ]%IcUd}  
      默认的UI template主题 :ho)3kB  
@sly-2{e1  
struts.url.http.port D'aq^T'  
      The HTTP port used by Struts URLs 0$3\D S<E  
      设置http端口 QRj>< TKi  
{aI8p}T  
struts.url.https.port r]eeKV,{p  
      The HTTPS port used by Struts URLs >9c$2d|>  
      设置https端口 ODK$G [-  
Y:C7S~  
struts.url.includeParams OKfJ  
      The default includeParams method to generate Struts URLs 8~?3: IZ  
      在url中产生 默认的includeParams !oeu  
4 vwa/?  
>{i/LC^S  
struts.velocity.configfile xwa5dtcng  
      The Velocity configuration file path )/H=m7}1h  
      velocity配置文件路径 ;bVC7D~~4w  
ig:/60Z  
struts.velocity.contexts mH> oF|  
      List of Velocity context names U0'>(FP~2  
      velocity的context列表 U@+ @Mc  
uR{HCZ-  
\1'3--n  
struts.velocity.manager.classname (OT /o&cQ  
      org.apache.struts2.views.velocity.VelocityManager implementation class J#B% #X  
      org.apache.struts2.views.velocity.VelocityManager接口名 {S(d5o8  
>TUs~  
struts.velocity.toolboxlocation c 6sGjZdR  
      The location of the Velocity toolbox zyTP|SXk  
      velocity工具盒的位置 >*H>'O4  
struts.xslt.nocache 2't<Hl1qN  
      Whether or not XSLT templates should not be cached cZKK\hf<  
      是否XSLT模版应该被缓存 !=@Lyt)_b  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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