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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 .3MIcj=p  
`^4vT3e  
struts.action.extension 0JJS2oY/  
      The URL extension to use to determine if the request is meant for a Struts action XGkkB  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 iX4Iu3  
~R@Nd~L  
struts.configuration H(&4[%;MP  
      The org.apache.struts2.config.Configuration implementation class gw}Mw  
        org.apache.struts2.config.Configuration接口名 A21N|$[  
6A=8+R'`F  
struts.configuration.files Y>&Ew*Y  
      A list of configuration files automatically loaded by Struts PK4iuU`vh  
      struts自动加载的一个配置文件列表 j7)Ao*WN  
Ey4z.s'-l  
struts.configuration.xml.reload ;j)FnY=:-  
      Whether to reload the XML configuration or not dH^<t,v  
      是否加载xml配置(true,false) R?p00  
\l@,B +)  
struts.continuations.package Vb'7>  
      The package containing actions that use Rife continuations !eUDi(   
      含有actions的完整连续的package名称 w&%~3Cz.  
Y}vr>\  
struts.custom.i18n.resources "&%#!2  
      Location of additional localization properties files to load D2,z)O%VK  
      加载附加的国际化属性文件(不包含.properties后缀) + Q6l*:<|c  
-c}, :G"  
struts.custom.properties B.L]Rk\4  
      Location of additional configuration properties files to load H/"lAXfb  
      加载附加的配置文件的位置 d`/tE?Gw  
HWVtop/  
%=BMZRn  
struts.devMode vC5n[0  
      Whether Struts is in development mode or not Y X_ gb/A  
      是否为struts开发模式 DzheoA-+L'  
gy;+_'.j   
struts.dispatcher.parametersWorkaround ;-Jb1"5  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic c?%(Dp E  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 0pSmj2/,.  
%/rMg"f:  
struts.enable.DynamicMethodInvocation &EpAg@9!  
      Allows one to disable dynamic method invocation from the URL A3ZY~s#Iv  
        允许动态方法调用 IO/4.m-aN#  
7YAIA%8  
struts.freemarker.manager.classname +z$pg  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class &< !Ufa&  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 }>[G5[ \  
2m~V{mUT!  
struts.i18n.encoding ~%2pp~1 K  
      The encoding to use for localization messages h)me\U7UC  
      国际化信息内码 SKW%X8  
/By)"  
struts.i18n.reload _A0mxq  
      Whether the localization messages should automatically be reloaded 3bNIZ#`|MB  
      是否国际化信息自动加载 g(| 6~}|o+  
X@|&c]]  
struts.locale aceZ3U>W  
      The default locale for the Struts application aIXdV2QS  
      默认的国际化地区信息 w2xG_q  
E~kG2x{a  
struts.mapper.class Cz8f1suO4  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Zx$ol;Yd  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 l)-Mq@V  
aSP4a+\*  
struts.multipart.maxSize ~j'l.gQb  
      The maximize size of a multipart request (file upload) 9V.u-^o&  
      multipart请求信息的最大尺寸(文件上传用) q-Qxbg[>e  
4R8G&8b  
struts.multipart.parser Hp|}~xjn  
      The org.apache.struts2.dispatcher.multipart. g_Im;1$  
      MultiPartRequest parser implementation for a multipart request (file upload) :ZDMNhUl &  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) |0z;K:5s  
<A.W 8b7D  
-ti{6:H8  
struts.multipart.saveDir dz[ bm< T7  
      The directory to use for storing uploaded files "EV!>^Z  
      设置存储上传文件的目录夹 Y[SU&LM  
[/_+>M  
struts.objectFactory ;<Km 3  
      The com.opensymphony.xwork2.ObjectFactory implementation class 4m-I5!=O  
      com.opensymphony.xwork2.ObjectFactory接口(spring) :3$}^uzIq  
AddeaB5<  
struts.objectFactory.spring.autoWire %/.a]j!  
      Whether Spring should autoWire or not gLsU:aeCT  
      是否自动绑定Spring 4eH.9t  
M=]5WZO~A  
struts.objectFactory.spring.useClassCache $t-n'Qh^2  
      Whether Spring should use its class cache or not F%rHU5CkV  
      是否spring应该使用自身的cache yA[({2%  
*U l*%!?D  
struts.objectTypeDeterminer .C]cK%OO N  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class [/RM=4Nh5  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 e &9F\e  
_KD5T4FZR  
struts.serve.static.browserCache c6Q(Ygc  
If static content served by the Struts filter should set browser caching header properties or not y/c%+ Ca/  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 "gW7<ilw  
#hw/^AaD-  
struts.serve.static +'oX  
      Whether the Struts filter should serve static content or not ]=F8p2w?  
      是否struts过滤器应该提供静态内容 o5aLU Wi-  
[XlB<P=|>  
struts.tag.altSyntax eX l=i-'  
      Whether to use the alterative syntax for the tags or not y0ckm6^  
      是否可以用替代的语法替代tags {w^uWR4f  
@oe\"vz  
struts.ui.templateDir #Tp]^ n  
      The directory containing UI templates KbxR Lx]w  
      UI templates的目录夹 Rn+4DcR  
pz doqAVI  
struts.ui.theme mE#nU(+Ta  
      The default UI template theme +K6szGP  
      默认的UI template主题 ?HR%bn gK  
b*,3< 9  
struts.url.http.port 8)0 L2KL'  
      The HTTP port used by Struts URLs 0&fl#]oCE  
      设置http端口 `3iQZu i  
19d6]pJ5  
struts.url.https.port ;8B.;%qkL  
      The HTTPS port used by Struts URLs CP` XUpX`&  
      设置https端口 V{Q kN7-  
$EBb"+Y'T  
struts.url.includeParams 2'{}<9  
      The default includeParams method to generate Struts URLs 2Ji+{,?,  
      在url中产生 默认的includeParams =K$,E4*  
S]2 {ZDP  
9XV^z*E(J  
struts.velocity.configfile AZZRa69=  
      The Velocity configuration file path b1!@v+  
      velocity配置文件路径 Dl;d33  
N\R=cwk  
struts.velocity.contexts LD55n%|0`H  
      List of Velocity context names J4yt N3  
      velocity的context列表 VO`"<  
q a!RH]B3  
T{ -2fp8r[  
struts.velocity.manager.classname YU\Gj S~>&  
      org.apache.struts2.views.velocity.VelocityManager implementation class ?q%b*Ek  
      org.apache.struts2.views.velocity.VelocityManager接口名 LV.&>@*  
#/WAzYt{  
struts.velocity.toolboxlocation kfj%  
      The location of the Velocity toolbox _bI+QC#   
      velocity工具盒的位置 c#\-%h  
struts.xslt.nocache KU2$5[~j  
      Whether or not XSLT templates should not be cached #%cR%Z  
      是否XSLT模版应该被缓存 zrx JN  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八