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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ?0DCjh8We  
,B5Ptf#  
struts.action.extension ie 2X.#  
      The URL extension to use to determine if the request is meant for a Struts action {QM;%f  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 )>\J~{  
&Sa<&2W4S  
struts.configuration OcQ_PE5\  
      The org.apache.struts2.config.Configuration implementation class w> IkC+.?  
        org.apache.struts2.config.Configuration接口名 Q2Yv8q_}Uq  
&A*oQ3  
struts.configuration.files LJc w->  
      A list of configuration files automatically loaded by Struts p<Ah50!B  
      struts自动加载的一个配置文件列表 p27A#Uu2}  
i74^J+xk  
struts.configuration.xml.reload wTf0O@``6H  
      Whether to reload the XML configuration or not UacN'Rat  
      是否加载xml配置(true,false) E:D1ZV  
SV<*qz  
struts.continuations.package prlB9,3|C  
      The package containing actions that use Rife continuations &M6)-V4  
      含有actions的完整连续的package名称 /raM\EyrlP  
= EyxM  
struts.custom.i18n.resources 1 _fFbb"  
      Location of additional localization properties files to load ngsax1xO  
      加载附加的国际化属性文件(不包含.properties后缀) it&c ,+8  
Wey-nsk  
struts.custom.properties ^n@iCr9  
      Location of additional configuration properties files to load YQ,IdWav  
      加载附加的配置文件的位置 p0qQ(  
L}XERO TR  
"<v_fF<Y  
struts.devMode $a15 8  
      Whether Struts is in development mode or not 6x]|IWvW  
      是否为struts开发模式 ?uU0NKZA  
\S=!la_T@m  
struts.dispatcher.parametersWorkaround 9(ZzwkD'>  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic htX'bA  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) CBnD)1b\  
6KnD(im  
struts.enable.DynamicMethodInvocation Ook3B  
      Allows one to disable dynamic method invocation from the URL 9`4h"9dO  
        允许动态方法调用 ,\+tvrR4X  
Gxi;h=J2)>  
struts.freemarker.manager.classname JEdtj1v{O  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ii2oWU  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 #7lkj:j4  
3a!/EP  
struts.i18n.encoding i#kRVua/  
      The encoding to use for localization messages 66p_d'U  
      国际化信息内码 D'fP2?3FK  
g#9w5Q  
struts.i18n.reload pqMv YF  
      Whether the localization messages should automatically be reloaded nI2}E  
      是否国际化信息自动加载 0WF(Ga/o  
O<6/0ub&+h  
struts.locale l>~:lBO  
      The default locale for the Struts application X2 M<DeF:  
      默认的国际化地区信息 puZ<cV e/  
iL|*g3`-f  
struts.mapper.class l2VO=RDiW  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ;cp-jY_U  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 _q6+]  
ua|qL!L+  
struts.multipart.maxSize h,FP,w;G  
      The maximize size of a multipart request (file upload) oq8~PTw  
      multipart请求信息的最大尺寸(文件上传用) 6Wc eDY  
j"94hWb  
struts.multipart.parser 4fzq C)  
      The org.apache.struts2.dispatcher.multipart. xBgf)'W_Z  
      MultiPartRequest parser implementation for a multipart request (file upload) y^;qT_)#  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) A'[A!NL%  
:vurU$\  
^3=8*Xr  
struts.multipart.saveDir 3C_g)5 _:  
      The directory to use for storing uploaded files )@R:$l86  
      设置存储上传文件的目录夹 }^`{YD  
Gk[P-%%b /  
struts.objectFactory 3-o ]H'6  
      The com.opensymphony.xwork2.ObjectFactory implementation class Cf`UMQ a  
      com.opensymphony.xwork2.ObjectFactory接口(spring) \M>AN Z}  
Q.z2 (&  
struts.objectFactory.spring.autoWire }[LK/@h  
      Whether Spring should autoWire or not 3qpk Mu3  
      是否自动绑定Spring _JR4 PKtx  
hZ2PP ^  
struts.objectFactory.spring.useClassCache 7Mo O2  
      Whether Spring should use its class cache or not +QldZba  
      是否spring应该使用自身的cache =;Wkg4\5  
ZmmuP/~2K  
struts.objectTypeDeterminer g:[&]o} :9  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 6O tv[8^}  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 }ZVNDvGH  
/jj@ =H  
struts.serve.static.browserCache U-WrZ|-  
If static content served by the Struts filter should set browser caching header properties or not \R79^  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 p-*BB_J"  
Xo%Anqk  
struts.serve.static `&pb`P<`  
      Whether the Struts filter should serve static content or not _F@FcFG1Z*  
      是否struts过滤器应该提供静态内容 ,x{5,K.yWq  
F6%rH$aS  
struts.tag.altSyntax ;A- Ef  
      Whether to use the alterative syntax for the tags or not 6\::Ku4_2  
      是否可以用替代的语法替代tags dcHkb,HsO  
>$R-:>~zN  
struts.ui.templateDir jDXmre?  
      The directory containing UI templates _ORW'(:Z  
      UI templates的目录夹 ^+GN8LUs  
?7G[`@^Y  
struts.ui.theme p%3';7W\  
      The default UI template theme #(  kT  
      默认的UI template主题 fcw \`.  
A=XM(2{aN  
struts.url.http.port H.>KYiv+  
      The HTTP port used by Struts URLs Ei}DA=:s  
      设置http端口 ?|s[/zPS=  
xFpJ#S&  
struts.url.https.port ^xqh!  
      The HTTPS port used by Struts URLs c#Y9L+O  
      设置https端口 u{H_q&1  
Pyyx/u+?@  
struts.url.includeParams brTB /(E  
      The default includeParams method to generate Struts URLs 7XR[`Tn9<  
      在url中产生 默认的includeParams P `2Rte6s  
IloHU6h'  
%H}+'.8  
struts.velocity.configfile !0fK*qIL  
      The Velocity configuration file path \[D"W{9l  
      velocity配置文件路径 Q45rP4mQ  
6b]vHT|p  
struts.velocity.contexts pn =S%Qf]  
      List of Velocity context names pAa{,,Qc  
      velocity的context列表 \{UiGCK  
l;|1C[V  
0j_!)B  
struts.velocity.manager.classname 'fVk1Qj^  
      org.apache.struts2.views.velocity.VelocityManager implementation class %"KBX~3+Kj  
      org.apache.struts2.views.velocity.VelocityManager接口名 w^ DAu1  
~&yaIuW<  
struts.velocity.toolboxlocation x1Si&0T0P<  
      The location of the Velocity toolbox ]h|GaHiE  
      velocity工具盒的位置 @NyCMe;]  
struts.xslt.nocache [n:R]|^a  
      Whether or not XSLT templates should not be cached E3gQ`+wNg?  
      是否XSLT模版应该被缓存 `mWg$e,  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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