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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 WpPm|h  
?IKSSe#,  
struts.action.extension r{cefKJHg  
      The URL extension to use to determine if the request is meant for a Struts action  n[vwwY  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 <>n-+Kr  
I~^t\iujs  
struts.configuration 3 291"0  
      The org.apache.struts2.config.Configuration implementation class GI+x,p  
        org.apache.struts2.config.Configuration接口名 6:fHPlqW  
7Ei,L[{\i#  
struts.configuration.files ^tMb"WO  
      A list of configuration files automatically loaded by Struts 04K[U9W3  
      struts自动加载的一个配置文件列表 !"v[\||1  
 Re=()M  
struts.configuration.xml.reload Wq5 }SM  
      Whether to reload the XML configuration or not k? <.yr1  
      是否加载xml配置(true,false) [@VM'@e7  
_Sq*m=  
struts.continuations.package ?/M:  
      The package containing actions that use Rife continuations mY1I{ '.  
      含有actions的完整连续的package名称 x7<2K(  
.wU0F  
struts.custom.i18n.resources * ~D|M  
      Location of additional localization properties files to load |r U?  
      加载附加的国际化属性文件(不包含.properties后缀) Z<wJ!|f  
$U_M|Xa  
struts.custom.properties y% Q0* _  
      Location of additional configuration properties files to load AiP#wK;  
      加载附加的配置文件的位置 ]u]BxMs  
t5| }0ID-  
S/itK3  
struts.devMode - w{`/  
      Whether Struts is in development mode or not Bj=lUn`T:  
      是否为struts开发模式 = 9Ow!(!@  
i,H(6NL.  
struts.dispatcher.parametersWorkaround i/C`]1R/  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic }508wwv  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) \aN*x  
K2XRKoG  
struts.enable.DynamicMethodInvocation :17Pc\:DS  
      Allows one to disable dynamic method invocation from the URL L@5j? N?F  
        允许动态方法调用 t)4><22of  
D-/q-=zd  
struts.freemarker.manager.classname 9{GEq@`7  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class `hl8j\HV<}  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 R_4eME2LB  
O .ESI  
struts.i18n.encoding ]\C wa9  
      The encoding to use for localization messages Sl;[9l2  
      国际化信息内码 [u $X.=(  
dwpE(G y6c  
struts.i18n.reload 0h=}BCb+i  
      Whether the localization messages should automatically be reloaded WYUel4Z  
      是否国际化信息自动加载 t]CA!i`  
 [HEljEv  
struts.locale `SH14A*  
      The default locale for the Struts application &o;d  
      默认的国际化地区信息 ? K,d  
f:K>o .  
struts.mapper.class mo?*nO|-  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Ki\\yK  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 j|KjQ'9  
8.!+Hm4  
struts.multipart.maxSize Ud_7>P$a  
      The maximize size of a multipart request (file upload) I}jem  
      multipart请求信息的最大尺寸(文件上传用) ~.<QC<dN  
B? aMX,1  
struts.multipart.parser r) u@,P  
      The org.apache.struts2.dispatcher.multipart. *)(S}D\94  
      MultiPartRequest parser implementation for a multipart request (file upload) eJ%b"H!  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) \8Hs[H!  
M ZAz= )-  
S}b^_+UbP  
struts.multipart.saveDir {E;oirv&  
      The directory to use for storing uploaded files ri`;   
      设置存储上传文件的目录夹 *mJ\Tzc)  
64L;np>  
struts.objectFactory 7>E>`Nc6  
      The com.opensymphony.xwork2.ObjectFactory implementation class GGs7]mhA  
      com.opensymphony.xwork2.ObjectFactory接口(spring) @<jm+f"MP  
j"A<qI  
struts.objectFactory.spring.autoWire rJT YCe1*  
      Whether Spring should autoWire or not `-!kqJ  
      是否自动绑定Spring I7#^'/  
3xz|d`A  
struts.objectFactory.spring.useClassCache O'Q,;s`uC  
      Whether Spring should use its class cache or not b8 E{~z  
      是否spring应该使用自身的cache xHD$0eq  
1I awi?73  
struts.objectTypeDeterminer cy(4g-b]@e  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 9/`3=r@  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 9SBTeJ$RZ  
&qzy?/i8  
struts.serve.static.browserCache Y?qUO2  
If static content served by the Struts filter should set browser caching header properties or not \ iA'^69  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 jL7r1pu5  
K))P 2ss  
struts.serve.static mKqXB\<  
      Whether the Struts filter should serve static content or not DbSR(:  
      是否struts过滤器应该提供静态内容 VRZqY7j}g  
/iEQ}  
struts.tag.altSyntax Ne)3@?  
      Whether to use the alterative syntax for the tags or not 1l'JoU.<  
      是否可以用替代的语法替代tags o%,?v 9  
y`i?Qo3  
struts.ui.templateDir M>Q3;s  
      The directory containing UI templates vGnFX0?h  
      UI templates的目录夹 9X&=?+f  
kWacc&*|  
struts.ui.theme Q;s {M{u  
      The default UI template theme ]8htL#C  
      默认的UI template主题 kTcW=AXu  
lWn}afI  
struts.url.http.port 6V"u ovN2  
      The HTTP port used by Struts URLs P }^Y"zF2  
      设置http端口 XtQwLH+F  
sPMICIv|  
struts.url.https.port '5b0 K1$"  
      The HTTPS port used by Struts URLs EOZ 6F-':  
      设置https端口 NM9,AG  
ify48]  
struts.url.includeParams \:g\?[  
      The default includeParams method to generate Struts URLs 0CvGpM,  
      在url中产生 默认的includeParams B]NcY&A  
2acT w#  
${rWDZ0Z  
struts.velocity.configfile k 1a?yH)=  
      The Velocity configuration file path *8_Dn}u?Jx  
      velocity配置文件路径 2+/r~LwbK  
)Ii`/I^  
struts.velocity.contexts fk9q3  
      List of Velocity context names 73B[|J*  
      velocity的context列表 }d>Xh8:%)  
%JH/|mA&|  
BNF*1JO  
struts.velocity.manager.classname 6oq5CDoq  
      org.apache.struts2.views.velocity.VelocityManager implementation class DgK*> A  
      org.apache.struts2.views.velocity.VelocityManager接口名 m[%':^vSr  
>9mj/P D  
struts.velocity.toolboxlocation ]imVIu   
      The location of the Velocity toolbox (?g+.]Dt,  
      velocity工具盒的位置 3d]~e  
struts.xslt.nocache %wXj P`#  
      Whether or not XSLT templates should not be cached lU%oU&P/"S  
      是否XSLT模版应该被缓存 TFm[sO0RZ  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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