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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 5]>*0#C S  
8'u9R~})   
struts.action.extension 0W(mx-[H/  
      The URL extension to use to determine if the request is meant for a Struts action  ][wb4$2  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 y92R}e\M  
+9w[/n^,G  
struts.configuration .ojEKu+EJ'  
      The org.apache.struts2.config.Configuration implementation class [a04( 2g  
        org.apache.struts2.config.Configuration接口名 `p&[b]b  
>*RU:X  
struts.configuration.files Hl`OT5 pNf  
      A list of configuration files automatically loaded by Struts `*Yw-HL  
      struts自动加载的一个配置文件列表 UB.1xcI  
UxL*I[z5  
struts.configuration.xml.reload 5X20/+aT  
      Whether to reload the XML configuration or not :ZM9lBYh  
      是否加载xml配置(true,false) uX*2Rs$s  
4~,Z 'k  
struts.continuations.package d #1Y^3n  
      The package containing actions that use Rife continuations H"FK(N\  
      含有actions的完整连续的package名称 *{3d+j/?/  
lG)wa  
struts.custom.i18n.resources \P*_zd@%  
      Location of additional localization properties files to load QkBw59L7  
      加载附加的国际化属性文件(不包含.properties后缀) E +_n@t"  
<%m YsaM  
struts.custom.properties +b(};(wL  
      Location of additional configuration properties files to load se\fbe^0  
      加载附加的配置文件的位置 m,lZy#02s3  
^1najUpQ_n  
$DoR@2 ~y  
struts.devMode -N8rs[c  
      Whether Struts is in development mode or not x="Wqcnj{  
      是否为struts开发模式 `Gqe]ZE#"  
<Z]#vr q  
struts.dispatcher.parametersWorkaround -B;#pTG  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic SLKpl LO  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Wd:pqhLh  
j{%;n40$  
struts.enable.DynamicMethodInvocation %rylmioW>  
      Allows one to disable dynamic method invocation from the URL ]xQv\u  
        允许动态方法调用 _ocCt XI9  
23wztEp{a  
struts.freemarker.manager.classname qD{1X25O  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 1uAjy(y  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 +nE>)ZH  
_#u\ar)  
struts.i18n.encoding f' ?/P~[  
      The encoding to use for localization messages Q#\Nhc  
      国际化信息内码 d5$D[,`1  
t>[W]%op  
struts.i18n.reload V`y^m@U!  
      Whether the localization messages should automatically be reloaded VHxBs  
      是否国际化信息自动加载 ^.6[vmmq  
JM3[ yNSN@  
struts.locale <0})%V?-  
      The default locale for the Struts application X:oOp=y]|  
      默认的国际化地区信息 W:_-I4 q~  
ISGw}#}]?  
struts.mapper.class J!2Z9<q5  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class /eI|m9ke  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 G&ck98  
0 0N[ : %  
struts.multipart.maxSize .xN<<+|_v'  
      The maximize size of a multipart request (file upload) X`.##S KC  
      multipart请求信息的最大尺寸(文件上传用) {y9G "  
z&6_}{2,]  
struts.multipart.parser 8zp?WUb  
      The org.apache.struts2.dispatcher.multipart. ./#YUIC  
      MultiPartRequest parser implementation for a multipart request (file upload) h[W`P%xZ  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) %L=e%E=m  
wXIRn?z  
B*T n@t W  
struts.multipart.saveDir ;7'O=%  
      The directory to use for storing uploaded files n9B5D:.G  
      设置存储上传文件的目录夹 fpR|+`k  
PVIOe}N  
struts.objectFactory /65YHXg,  
      The com.opensymphony.xwork2.ObjectFactory implementation class -G(me"Cu  
      com.opensymphony.xwork2.ObjectFactory接口(spring) .nPOjwEx&Y  
JOJ.79CT  
struts.objectFactory.spring.autoWire XQo\27Fo  
      Whether Spring should autoWire or not Lc{AB!Br  
      是否自动绑定Spring A NhqS  
iXDG-_K  
struts.objectFactory.spring.useClassCache 9{u=  
      Whether Spring should use its class cache or not F7DA~G!  
      是否spring应该使用自身的cache DpRMXo[  
W_W!v&@E=  
struts.objectTypeDeterminer NiZfaC6V  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class |0n )U(  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 6 9>@0P  
g(@F`W[  
struts.serve.static.browserCache ^Hx}.?1  
If static content served by the Struts filter should set browser caching header properties or not e9{ii2M  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 $ VT)  
.C'\U[A{  
struts.serve.static -8 uS#  
      Whether the Struts filter should serve static content or not 6u, g  
      是否struts过滤器应该提供静态内容 _%e8GWf  
Va8 }JD  
struts.tag.altSyntax UY3)6}g6  
      Whether to use the alterative syntax for the tags or not ZC?~RXL(  
      是否可以用替代的语法替代tags t<45[~[  
(Ceruo S  
struts.ui.templateDir i!a!qE.1  
      The directory containing UI templates `NIb? /!f  
      UI templates的目录夹 QTHY{:Rmu  
t\M6 d6  
struts.ui.theme eC-&.Fl  
      The default UI template theme  NNt n  
      默认的UI template主题 90vWqL!  
w!m4>w  
struts.url.http.port 4|?(LHBD)  
      The HTTP port used by Struts URLs 1aAOT6h  
      设置http端口 ~O}r<PQ  
D_l$"35?  
struts.url.https.port A%^?z.  
      The HTTPS port used by Struts URLs dcf,a<K\  
      设置https端口 SY,ns*>1F  
{8m&Z36E  
struts.url.includeParams ?/.])'&b  
      The default includeParams method to generate Struts URLs #:?:gY<  
      在url中产生 默认的includeParams u`XRgtI{g?  
hi(b\ ABx  
C?H~L  
struts.velocity.configfile sPNm.W$_  
      The Velocity configuration file path k6#$Nb606  
      velocity配置文件路径 <V^o.4mOg>  
-b!?9T?}  
struts.velocity.contexts EB3/o7)L  
      List of Velocity context names #w;"s*  
      velocity的context列表 6 wN*d 5  
ja9u?UbW  
-8)Hulo/{U  
struts.velocity.manager.classname KpGx<+0p  
      org.apache.struts2.views.velocity.VelocityManager implementation class Qb {[xmc  
      org.apache.struts2.views.velocity.VelocityManager接口名 Uh0g !zzp  
3HyOQD"{  
struts.velocity.toolboxlocation T={!/y+  
      The location of the Velocity toolbox H'i\N?VL  
      velocity工具盒的位置 CzlG#?kU?2  
struts.xslt.nocache dQ*^WNUB  
      Whether or not XSLT templates should not be cached ;L$ -_Z  
      是否XSLT模版应该被缓存 7)U ik}0  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八