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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ;e.8EL  
z?pi /`y8>  
struts.action.extension X}Om)WCr  
      The URL extension to use to determine if the request is meant for a Struts action n.t5:SW  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ;M~9Yr=1  
a,(nf1@5  
struts.configuration (V1;`sI8  
      The org.apache.struts2.config.Configuration implementation class aRElk&M  
        org.apache.struts2.config.Configuration接口名 8!YQ9T[  
%!eRR  
struts.configuration.files %|D) U>o{  
      A list of configuration files automatically loaded by Struts -}PE(c1%?q  
      struts自动加载的一个配置文件列表 JY@bD:  
vG7Mk8mIr  
struts.configuration.xml.reload \Zh&[D!2  
      Whether to reload the XML configuration or not ay|jq "a  
      是否加载xml配置(true,false) iJj!-a:z.  
R!yh0y}Z  
struts.continuations.package "a9j2+9  
      The package containing actions that use Rife continuations 2vU-9p {  
      含有actions的完整连续的package名称  P_'{|M<?  
-v-kFzu  
struts.custom.i18n.resources bDudETl  
      Location of additional localization properties files to load hnH<m7  
      加载附加的国际化属性文件(不包含.properties后缀) }a#T\6rY  
J5n6K$ .d  
struts.custom.properties [oXSjLQm[  
      Location of additional configuration properties files to load 'IFA>}e7W  
      加载附加的配置文件的位置 ycSGv4 )  
WrcmC$ff  
#d*0 )w  
struts.devMode RyU8{-q  
      Whether Struts is in development mode or not 5D2mZ/  
      是否为struts开发模式 5gV,^[E-z  
L>mM6$l  
struts.dispatcher.parametersWorkaround v9FR  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic d3 i(UN]  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) V)`A,7X  
P{ 9wJ<  
struts.enable.DynamicMethodInvocation zyO=x 4U8  
      Allows one to disable dynamic method invocation from the URL W -HOl!)  
        允许动态方法调用 ^/$dSXKF  
Y652&{>q  
struts.freemarker.manager.classname vq.o;q /  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class $STGH  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 cJbv,RV<  
$_;rqTk]g  
struts.i18n.encoding <Np Mv!g  
      The encoding to use for localization messages qA\&%n^ j]  
      国际化信息内码 +nHr+7}  
B8?9L8M}  
struts.i18n.reload ah f,- ?S  
      Whether the localization messages should automatically be reloaded |d-x2M[  
      是否国际化信息自动加载 xQU//kNL  
OI*ltba?  
struts.locale *aC[Tv[-P  
      The default locale for the Struts application d}tmZ*q  
      默认的国际化地区信息 ]n>9(Mp!M  
he/rt#  
struts.mapper.class GF9[|). T  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ']fyD3N  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口  :\'1x  
1LSJy*yY  
struts.multipart.maxSize Z.!<YfA)  
      The maximize size of a multipart request (file upload) 04&S.#+(  
      multipart请求信息的最大尺寸(文件上传用) vea{o 35!  
lR7;{zlSf'  
struts.multipart.parser Y:\]d1C  
      The org.apache.struts2.dispatcher.multipart. H! 5Ka#B  
      MultiPartRequest parser implementation for a multipart request (file upload) 8+dsTX`|S  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) R+0gn/a[G  
-^yc<%U  
fZr{x$]N0  
struts.multipart.saveDir a%BC{XX  
      The directory to use for storing uploaded files j>?nL~{  
      设置存储上传文件的目录夹 E2dS@!]V  
pfIK9>i  
struts.objectFactory 1%vE7a>{  
      The com.opensymphony.xwork2.ObjectFactory implementation class EPLHw  
      com.opensymphony.xwork2.ObjectFactory接口(spring) _<jU! R  
Qxa Me8 (  
struts.objectFactory.spring.autoWire l3BN,HNv+  
      Whether Spring should autoWire or not Rf8ZH  
      是否自动绑定Spring xzA!,75@U  
Oi& 9FS  
struts.objectFactory.spring.useClassCache ,1B4FAR&  
      Whether Spring should use its class cache or not ME]7e^  
      是否spring应该使用自身的cache jg'"?KSU~  
fKFD>u 0%  
struts.objectTypeDeterminer I4w``""c  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 04=RoYMM  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Q.7X3A8  
42hG }Gt  
struts.serve.static.browserCache ]AM*9!  
If static content served by the Struts filter should set browser caching header properties or not 3hBYx@jTO  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 5uSg]2:  
|x1Ttr,  
struts.serve.static ,wg(}y'  
      Whether the Struts filter should serve static content or not  PBW_9&d  
      是否struts过滤器应该提供静态内容 >YXb"g@.  
.Wp(@l'Hd  
struts.tag.altSyntax !,Gavt7f  
      Whether to use the alterative syntax for the tags or not ^/Yk*Ny  
      是否可以用替代的语法替代tags q[vO mes  
--TH6j"  
struts.ui.templateDir v,N!cp1  
      The directory containing UI templates zK1\InP  
      UI templates的目录夹 \8a014  
ASMItT  
struts.ui.theme bT9:9LP  
      The default UI template theme %jq R^F:J  
      默认的UI template主题 9"1=um=  
i>G:*?a  
struts.url.http.port <?8cVLW} O  
      The HTTP port used by Struts URLs d/3&3>/  
      设置http端口 wod{C!  
~ W8 M3(^  
struts.url.https.port gGA5xkA  
      The HTTPS port used by Struts URLs GpO@1 C/  
      设置https端口 !f/^1k}SR  
>tL" 8@z9  
struts.url.includeParams X,o ]tgg=  
      The default includeParams method to generate Struts URLs b+ZaZ\-y |  
      在url中产生 默认的includeParams iK'A m.o+  
ka R55  
#&S<{75A  
struts.velocity.configfile B}p.fE  
      The Velocity configuration file path "].TKF#yg  
      velocity配置文件路径 yfFe%8w_vw  
.1J`>T?=Q  
struts.velocity.contexts [tt_>O  
      List of Velocity context names S*3$1BTl  
      velocity的context列表 >B;S;_5=  
2e ~RM2PQ  
HQ4WunH2Y  
struts.velocity.manager.classname AC fhy[,  
      org.apache.struts2.views.velocity.VelocityManager implementation class @.`HvS  
      org.apache.struts2.views.velocity.VelocityManager接口名 hdM?Uoo(4a  
*x 2u  
struts.velocity.toolboxlocation Pj8Vl)8~NV  
      The location of the Velocity toolbox }gX4dv B  
      velocity工具盒的位置 Z,XivU&  
struts.xslt.nocache FEa%wS{  
      Whether or not XSLT templates should not be cached Mwj7*pxUh  
      是否XSLT模版应该被缓存 cx)x="c  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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