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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 DMpNm F>  
^sb+|b  
struts.action.extension wNtPh&  
      The URL extension to use to determine if the request is meant for a Struts action @S#Ls="G  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 wVac6q  
QKt+Orz  
struts.configuration =Dc9|WuHN  
      The org.apache.struts2.config.Configuration implementation class C[2LP$6*/  
        org.apache.struts2.config.Configuration接口名 1yT\|2ARZ%  
G W~ZmK  
struts.configuration.files XMi)PXs$  
      A list of configuration files automatically loaded by Struts lDF26<<\`  
      struts自动加载的一个配置文件列表 ~X2 cTG!,  
ov%.+5P  
struts.configuration.xml.reload Y. 1dk  
      Whether to reload the XML configuration or not j"wbq-n,7  
      是否加载xml配置(true,false) Q|&Wcxq2!  
cjyb:gAO  
struts.continuations.package $?Z-BD1  
      The package containing actions that use Rife continuations ,Jqk0cW2  
      含有actions的完整连续的package名称 VU ,tCTXz  
("T8mt[w>  
struts.custom.i18n.resources 6,j&u7  
      Location of additional localization properties files to load Hr/3nq}.  
      加载附加的国际化属性文件(不包含.properties后缀) AiOz1Er  
68YJ@(iS  
struts.custom.properties y>iote~  
      Location of additional configuration properties files to load ^,,lo<d_L  
      加载附加的配置文件的位置 _ H$^m#h  
y1*z," dx  
GkYD:o=qx  
struts.devMode YM4njkI7  
      Whether Struts is in development mode or not Q ~>="Yiu  
      是否为struts开发模式 QbG`F8dj  
}v$T1Cw  
struts.dispatcher.parametersWorkaround C=!YcJ9  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic |p"4cG?)  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) M F_VMAq  
A;e0h)F$-  
struts.enable.DynamicMethodInvocation <rAWu\d;  
      Allows one to disable dynamic method invocation from the URL 6"PwOEt  
        允许动态方法调用  vgbk {  
6,:`esl  
struts.freemarker.manager.classname >7j(V`i"y  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ow@1.5WL+  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 bc ;(2D  
>^(Q4eU7!  
struts.i18n.encoding F%F:Gr/  
      The encoding to use for localization messages yMCd5%=M\  
      国际化信息内码 q@8j[15  
Yt#e[CYnu  
struts.i18n.reload ," ~4l&  
      Whether the localization messages should automatically be reloaded !Q" 3B6 86  
      是否国际化信息自动加载 +t`QHvxv  
wML5T+  
struts.locale XJ9l, :c,  
      The default locale for the Struts application u[yUUYe  
      默认的国际化地区信息 ?KF.v1w7  
{H$m1=S  
struts.mapper.class GFmVR2z_+  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class w 7Y>B`wm?  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 \[F4ooe  
Ey**j  
struts.multipart.maxSize L7 f'  
      The maximize size of a multipart request (file upload) `z]MQdE_w  
      multipart请求信息的最大尺寸(文件上传用) xulwn{R s  
Q?"-[6[v  
struts.multipart.parser XF=GmkO  
      The org.apache.struts2.dispatcher.multipart. 53jtwklA  
      MultiPartRequest parser implementation for a multipart request (file upload) o;<oXv  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) MF%>avRj  
a eo/4  
b*@y/ e\u`  
struts.multipart.saveDir ?iQA>P9B  
      The directory to use for storing uploaded files f7Fr%*cO  
      设置存储上传文件的目录夹 .f~x*@  
q9mYhT/Im  
struts.objectFactory FMBzTD  
      The com.opensymphony.xwork2.ObjectFactory implementation class ~IP3~m D  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ~.'NG? %7P  
1XvB,DhJ  
struts.objectFactory.spring.autoWire ]&kzIxh  
      Whether Spring should autoWire or not jf'#2-   
      是否自动绑定Spring BoMf#l.3B  
KXy|Si8w  
struts.objectFactory.spring.useClassCache ob3Z I  
      Whether Spring should use its class cache or not `fUem,$)1F  
      是否spring应该使用自身的cache <D!\"C  
$xU5vCwAo  
struts.objectTypeDeterminer Q?\rwnW?U  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Mb#-I GZ  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 l<l6Ey(  
,0=@cJ  
struts.serve.static.browserCache m+Bt9|d  
If static content served by the Struts filter should set browser caching header properties or not beM}({:`  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ,'69RL?-Wg  
!b+/zXp3I  
struts.serve.static (&x#VmDL  
      Whether the Struts filter should serve static content or not K[( h2&  
      是否struts过滤器应该提供静态内容 &v#*  
z9#iU>@  
struts.tag.altSyntax 1*!`G5c,}  
      Whether to use the alterative syntax for the tags or not *0aU(E #  
      是否可以用替代的语法替代tags 6 NJ5v +  
WV'FW)%  
struts.ui.templateDir `1$7. ydQ  
      The directory containing UI templates Vgh_F8G!V  
      UI templates的目录夹 N>$Nw<wV  
t6)wR  
struts.ui.theme ,Uh7Q-vd  
      The default UI template theme ZxRD+`  
      默认的UI template主题 Kpo{:a  
[|\JIr=of5  
struts.url.http.port e2v[ma-  
      The HTTP port used by Struts URLs Jm+hDZrW  
      设置http端口 ,&\uuD&.@  
Yy"05V.  
struts.url.https.port 1x^(vn#=  
      The HTTPS port used by Struts URLs -$]Tn#`Fb  
      设置https端口 k8;  
D%0GXUp  
struts.url.includeParams )D:I@`*  
      The default includeParams method to generate Struts URLs =N9a!i i|  
      在url中产生 默认的includeParams K] ^kUN_  
n>Rt9   
x@I(G "  
struts.velocity.configfile U&D"fM8  
      The Velocity configuration file path _"PT O&E  
      velocity配置文件路径 }cL9`a9j  
L##lXUl  
struts.velocity.contexts U[a;e OLx  
      List of Velocity context names GCUzKf&  
      velocity的context列表 T`;>Kq:s  
JWa9[Dj  
@Ee'nP   
struts.velocity.manager.classname tfr*/+F  
      org.apache.struts2.views.velocity.VelocityManager implementation class >g]kbes-\  
      org.apache.struts2.views.velocity.VelocityManager接口名 *\Y \$w  
Qn77ZpL:LJ  
struts.velocity.toolboxlocation 1>"K<6b+  
      The location of the Velocity toolbox A&2)iQ  
      velocity工具盒的位置 CE$c/d[N.  
struts.xslt.nocache lglC1W-q  
      Whether or not XSLT templates should not be cached <.0-K_  
      是否XSLT模版应该被缓存 %s;#epP$  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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