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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 3iw{SEY  
4h5g'!9-g  
struts.action.extension M02uO`Y9  
      The URL extension to use to determine if the request is meant for a Struts action gu#-O?B  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 O^/Maa/D1  
jV.g}F+1m  
struts.configuration Gl1jxxd  
      The org.apache.struts2.config.Configuration implementation class $0bjKy  
        org.apache.struts2.config.Configuration接口名 ^TMJ8` e  
S3L~~X/=  
struts.configuration.files ;a-$D]Db  
      A list of configuration files automatically loaded by Struts 5H=ko8fZ=  
      struts自动加载的一个配置文件列表 T+N|R  
k >t )g-,2  
struts.configuration.xml.reload USFD y  
      Whether to reload the XML configuration or not :2njp%  
      是否加载xml配置(true,false) Bo<>e~6P  
{]"]uT#  
struts.continuations.package jV(6>BAI_  
      The package containing actions that use Rife continuations Lh.`C7]  
      含有actions的完整连续的package名称 dt~YW  
F4<O2!V  
struts.custom.i18n.resources V5p= mmnA,  
      Location of additional localization properties files to load spasB=E  
      加载附加的国际化属性文件(不包含.properties后缀) Ou{v/'9z,  
b;)~wU=  
struts.custom.properties 3!5Ur&  
      Location of additional configuration properties files to load @ym/27cRE  
      加载附加的配置文件的位置 VCtH%v#S;.  
b T 2a40ul  
)xb|3&+W  
struts.devMode WM)-J^)BJ  
      Whether Struts is in development mode or not <C9 XX~  
      是否为struts开发模式 }K8/-d6  
K |DWu8  
struts.dispatcher.parametersWorkaround g;ZxvR)ZJk  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 1SrJ6W @j[  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) CgzD$`~  
}du XC[6  
struts.enable.DynamicMethodInvocation wH~kTU2br  
      Allows one to disable dynamic method invocation from the URL %*#n d  
        允许动态方法调用 jE#O>3+.  
xoOJauSX1  
struts.freemarker.manager.classname V138d?Mm  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ~EK'&Y"1  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 WD'#5]#Y  
Isx#9C  
struts.i18n.encoding ~tOAT;g}q  
      The encoding to use for localization messages tK k#LWB  
      国际化信息内码 :SxW.?[%u  
4mn&4e  
struts.i18n.reload ZNYH#mJX*  
      Whether the localization messages should automatically be reloaded erVO|<%=R  
      是否国际化信息自动加载 9<K j6t_  
JsO *1{6g  
struts.locale Q:ezifQ  
      The default locale for the Struts application !?^b[ nC%  
      默认的国际化地区信息 lC=~$c:  
>J u]2++lx  
struts.mapper.class Cuc$3l(%  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class vP+@z-O  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 .(Qx{r$  
6i0A9SN  
struts.multipart.maxSize [b:e:P 2  
      The maximize size of a multipart request (file upload) GWvH[0  
      multipart请求信息的最大尺寸(文件上传用) R0oKbs{  
z"*/mP2  
struts.multipart.parser Z@Ae$ '9H  
      The org.apache.struts2.dispatcher.multipart. fvb=#58N_  
      MultiPartRequest parser implementation for a multipart request (file upload) WoxwEi1~0  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) *'"^NSJ  
inlk++Og  
e L.(p k^<  
struts.multipart.saveDir Zs<KZGn-B  
      The directory to use for storing uploaded files ki>~H!zB  
      设置存储上传文件的目录夹 U\rh[0  
`gKf#f  
struts.objectFactory ]:34kE}e5  
      The com.opensymphony.xwork2.ObjectFactory implementation class C ;(t/zh  
      com.opensymphony.xwork2.ObjectFactory接口(spring) @(C1_  
#Wu*3&a]yU  
struts.objectFactory.spring.autoWire 3OM2Y_  
      Whether Spring should autoWire or not l|5fE1K9U  
      是否自动绑定Spring Hi]cxD*`  
:NJ(r(QG>  
struts.objectFactory.spring.useClassCache Ngg?@pG0y  
      Whether Spring should use its class cache or not zXsc1erli  
      是否spring应该使用自身的cache 1n\ t+F  
){r2T1+-%  
struts.objectTypeDeterminer id?h>g  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 5{$LsL  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 )!tK[K?5  
!a$ D4(`v  
struts.serve.static.browserCache )#F]G$51r  
If static content served by the Struts filter should set browser caching header properties or not lD{Aa!\  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 >c-fI$]  
l]<L [Y,E-  
struts.serve.static i_][P TH  
      Whether the Struts filter should serve static content or not {647|j;e  
      是否struts过滤器应该提供静态内容 }h 3K@R   
}K hjlPhx  
struts.tag.altSyntax <W]g2>9o9  
      Whether to use the alterative syntax for the tags or not ~afg)[(  
      是否可以用替代的语法替代tags u{z``]  
!gnj]k&/c  
struts.ui.templateDir eiJ2NwR\w  
      The directory containing UI templates pWu LfX  
      UI templates的目录夹 hp"L8w  
SR*wvQnOx  
struts.ui.theme 7hy&-<  
      The default UI template theme [31p&FxM  
      默认的UI template主题 ) _ I,KEe  
e?bYjJ q  
struts.url.http.port U:F/ iXz  
      The HTTP port used by Struts URLs #0 6-:  
      设置http端口 m*X[ Jtr  
.WQ<jZt>  
struts.url.https.port RllY-JBO  
      The HTTPS port used by Struts URLs {YUIMd!Y  
      设置https端口  'Pvm8t  
.Wi{lt  
struts.url.includeParams fJZp?e"  
      The default includeParams method to generate Struts URLs fIF<g@s  
      在url中产生 默认的includeParams e4FM} z[  
wB>r (xQ'  
^KB~*'DN~s  
struts.velocity.configfile Jx#k,Z4  
      The Velocity configuration file path DP/J (>eG  
      velocity配置文件路径 #}^-C&~  
`MP|Ovns:H  
struts.velocity.contexts 1+`l7'F  
      List of Velocity context names .yENM[-bQ  
      velocity的context列表 LflFe@2  
x{ }z ;yG  
(wmBjQ]B<  
struts.velocity.manager.classname `IINq{Zk  
      org.apache.struts2.views.velocity.VelocityManager implementation class P\CDd=yWc  
      org.apache.struts2.views.velocity.VelocityManager接口名 x( mE<UQN  
M\b")Tu{0  
struts.velocity.toolboxlocation Ch )dLPz@  
      The location of the Velocity toolbox &4dz}zz90  
      velocity工具盒的位置 e$c?}3E!z  
struts.xslt.nocache 2fIRlrA$  
      Whether or not XSLT templates should not be cached 1p`+  
      是否XSLT模版应该被缓存 Pag63njg?  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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