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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解  eYPt  
\;4L~_2$q  
struts.action.extension 9N`+ O  
      The URL extension to use to determine if the request is meant for a Struts action Z1 E` I89<  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Q3'(f9 x  
] `b<"  
struts.configuration 5VCMpy  
      The org.apache.struts2.config.Configuration implementation class 6yV5Yjs  
        org.apache.struts2.config.Configuration接口名 P TfN+  
";%e~ =  
struts.configuration.files eG a#$x?.  
      A list of configuration files automatically loaded by Struts Z_ iQU1  
      struts自动加载的一个配置文件列表 Ih9ORp7  
rcD.P?"  
struts.configuration.xml.reload eA;j/&qH  
      Whether to reload the XML configuration or not T9&,v<f  
      是否加载xml配置(true,false) zzDNWPzsA  
e)fJd*P  
struts.continuations.package HPv&vdr3  
      The package containing actions that use Rife continuations %`t]FV^#  
      含有actions的完整连续的package名称 *rujdQf  
$_%2D3-;D  
struts.custom.i18n.resources I_R5\l}O+D  
      Location of additional localization properties files to load TZvBcNi   
      加载附加的国际化属性文件(不包含.properties后缀) QH~8 aE_i  
~)oWSo5ll  
struts.custom.properties BVwRPt  
      Location of additional configuration properties files to load d|D'&&&c  
      加载附加的配置文件的位置 -;W\f<q]  
0`aHwt/F  
IeqWR4Y  
struts.devMode 3M`hn4)K  
      Whether Struts is in development mode or not uaZ"x& oZ#  
      是否为struts开发模式 ru(?a~lF8~  
=N[V{2}q  
struts.dispatcher.parametersWorkaround  (9'G  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic k}+MvGq  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) HZ[68T[8b  
%Hh &u .  
struts.enable.DynamicMethodInvocation Gx~"iM  
      Allows one to disable dynamic method invocation from the URL Cv?<}q  
        允许动态方法调用 .j+2x[`l  
Huug_E+  
struts.freemarker.manager.classname f6(9wz$Trt  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class O4'kS @  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ?[*@T2Ck  
Y'+F0IZ+  
struts.i18n.encoding 8xeun~e"vS  
      The encoding to use for localization messages Xm0&U?dZB  
      国际化信息内码 oK(W)[u  
[xp~@5r'  
struts.i18n.reload <*b]JY V@  
      Whether the localization messages should automatically be reloaded iPtm@f,bI  
      是否国际化信息自动加载 ps{&WT3a  
PEwW*4Xo  
struts.locale t6H2tP\AS  
      The default locale for the Struts application ^| a&%wxA  
      默认的国际化地区信息 _z_3%N  
lhW#IiX  
struts.mapper.class R+@sHsZ@  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class qU /Wg  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 s\3Z?zm8  
%yS`C"ZQ)  
struts.multipart.maxSize A+bu bH,  
      The maximize size of a multipart request (file upload) 2=Vkjh-  
      multipart请求信息的最大尺寸(文件上传用) o#KPrW`XJ/  
8m1 3M5r  
struts.multipart.parser ?L ~=Z\H  
      The org.apache.struts2.dispatcher.multipart. )=SYJ-ta<  
      MultiPartRequest parser implementation for a multipart request (file upload) }X W#?l  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) @zVBn~=i  
"8C(_z+]K`  
k*UR# z(I  
struts.multipart.saveDir F~uA-g  
      The directory to use for storing uploaded files %l]rQjV-  
      设置存储上传文件的目录夹 `)gkkZ$)j  
!]jNVg  
struts.objectFactory * zJiii  
      The com.opensymphony.xwork2.ObjectFactory implementation class 3<1HqU  
      com.opensymphony.xwork2.ObjectFactory接口(spring) R;Ix<y{U  
Hhce:E@K  
struts.objectFactory.spring.autoWire C>(M+qXL+  
      Whether Spring should autoWire or not *Tlws  
      是否自动绑定Spring )MX1776kU  
?-6x]l=]  
struts.objectFactory.spring.useClassCache %lqG*dRx0  
      Whether Spring should use its class cache or not X G@>1/  
      是否spring应该使用自身的cache pN^G[  
szM=U$jKq  
struts.objectTypeDeterminer U mx  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Ms$7E  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 R~seUW7uv"  
1PT_1[eAR  
struts.serve.static.browserCache H&>>]DD  
If static content served by the Struts filter should set browser caching header properties or not ;wYwiSVd  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 L-X _b3E\  
nbkky .e  
struts.serve.static kosJ]q'U  
      Whether the Struts filter should serve static content or not IB]VPj5  
      是否struts过滤器应该提供静态内容 . AQ3zpy5B  
BOl$UJ|K  
struts.tag.altSyntax b3HTCO-,fC  
      Whether to use the alterative syntax for the tags or not J|64b  
      是否可以用替代的语法替代tags kod_ 1LD  
b\uB  
struts.ui.templateDir YaE['a  
      The directory containing UI templates @SMy0:c:  
      UI templates的目录夹 J W yoh|  
] !*  
struts.ui.theme HDXjH|of  
      The default UI template theme gV.Pg[[1  
      默认的UI template主题 %w|3:  
]V]@Zna@g  
struts.url.http.port ~6kA<(x   
      The HTTP port used by Struts URLs pQm!Bt L  
      设置http端口 #L*@~M^]  
%cjGeS6}  
struts.url.https.port KL_}:O68  
      The HTTPS port used by Struts URLs }Us$y0W\  
      设置https端口 @snLE?g j  
1X:whS5S  
struts.url.includeParams f`";Q/rG  
      The default includeParams method to generate Struts URLs ,9j:h)ks?  
      在url中产生 默认的includeParams =rtA{g$)+  
a*wJcJTpV"  
0dX=  
struts.velocity.configfile -"^WDs  
      The Velocity configuration file path ';L^mxh  
      velocity配置文件路径 O=?X%m #  
y.]]V"'2  
struts.velocity.contexts (( IBaEq  
      List of Velocity context names RlPByG5K  
      velocity的context列表 c o%_~xO  
arH\QPaka'  
J,M5<s[Xqt  
struts.velocity.manager.classname oP`M\KXau  
      org.apache.struts2.views.velocity.VelocityManager implementation class o%JIJ7M  
      org.apache.struts2.views.velocity.VelocityManager接口名 (w:ACJ[[  
F>-@LOqHy  
struts.velocity.toolboxlocation s\1_-D5]Z  
      The location of the Velocity toolbox .nY6[2am  
      velocity工具盒的位置 *L8HC8IbH  
struts.xslt.nocache HkB<RsS$p_  
      Whether or not XSLT templates should not be cached C- Rie[  
      是否XSLT模版应该被缓存 }c#/1J7  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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