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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 uv/I`[@HK8  
S}cpYjnH8  
struts.action.extension =^|^" b  
      The URL extension to use to determine if the request is meant for a Struts action vjhd|  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 m`}! dBi  
_b&Mrd  
struts.configuration ZXY5Xvt:v  
      The org.apache.struts2.config.Configuration implementation class cWA9n}Z  
        org.apache.struts2.config.Configuration接口名 B-@6m  
A{bt Z#k  
struts.configuration.files zy"L%i  
      A list of configuration files automatically loaded by Struts p&>*bF,  
      struts自动加载的一个配置文件列表 dpDVEEs84  
\j+O |#`|)  
struts.configuration.xml.reload \ ExM.T  
      Whether to reload the XML configuration or not _[<R<&jG  
      是否加载xml配置(true,false) C},;M @xV  
'nz;|6uC  
struts.continuations.package 1`^l8V(  
      The package containing actions that use Rife continuations d(3F:dbk  
      含有actions的完整连续的package名称 {Kx eH7S  
9TIyY`2!  
struts.custom.i18n.resources GvF8S MO[x  
      Location of additional localization properties files to load Hzcy '  
      加载附加的国际化属性文件(不包含.properties后缀) [ >O4hifq  
GbFLu`Iu  
struts.custom.properties z\Rs?v"  
      Location of additional configuration properties files to load AjKP -[  
      加载附加的配置文件的位置 J*o :RnB  
g{.>nE^Sc5  
e6z;;C@'G  
struts.devMode Dd-;;Y1C  
      Whether Struts is in development mode or not 4v_?i @,L  
      是否为struts开发模式 peCmb)>Sa  
/ *RDy!m  
struts.dispatcher.parametersWorkaround ,24NMv7  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic }zY)H9J~  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ]( V+ qj  
ZF"f.aV8)  
struts.enable.DynamicMethodInvocation !rZO~a0  
      Allows one to disable dynamic method invocation from the URL g]EDL<b  
        允许动态方法调用 *%l&'+   
l=8)_z;~D  
struts.freemarker.manager.classname :y==O4  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class xphw0Es  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ` wuA}v3!  
K QXw~g?  
struts.i18n.encoding >!s =f  
      The encoding to use for localization messages pi sk v[  
      国际化信息内码 kT@RA}  
!sQ$a#Ea  
struts.i18n.reload "D}PbT[V  
      Whether the localization messages should automatically be reloaded L+LxS|S+M  
      是否国际化信息自动加载 i>HipD,TD  
pJrc\`D  
struts.locale MH[Zw$  
      The default locale for the Struts application RqgH,AN  
      默认的国际化地区信息 e48`cX\E  
vDZhoD=VR  
struts.mapper.class P*oKcq1R  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Y:[WwX|  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 xB_F?d40T5  
1|bu0d\]  
struts.multipart.maxSize ;j])h !8X  
      The maximize size of a multipart request (file upload) jY EB`&  
      multipart请求信息的最大尺寸(文件上传用) &dF$:$'s  
|};]^5s9  
struts.multipart.parser nv1'iSEeOl  
      The org.apache.struts2.dispatcher.multipart. .yE!,^j.gB  
      MultiPartRequest parser implementation for a multipart request (file upload) g9|B-1[  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) $C0Nv Jf  
Z)EmX=  
JYL/p9K[I  
struts.multipart.saveDir La48M'u  
      The directory to use for storing uploaded files =A={ Dpv[>  
      设置存储上传文件的目录夹 6NH.!}"G9  
$3S6{"  
struts.objectFactory ?z%@;&  
      The com.opensymphony.xwork2.ObjectFactory implementation class LuY`mi  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 0h-holUf}~  
{[G2{ijRz  
struts.objectFactory.spring.autoWire rGuhYYvK  
      Whether Spring should autoWire or not bhe~ekb  
      是否自动绑定Spring *6^|i}  
jIJVl \i]  
struts.objectFactory.spring.useClassCache 0l3v>ty  
      Whether Spring should use its class cache or not [tsi8r =T  
      是否spring应该使用自身的cache WXu:mv,'e  
^I3cU'X  
struts.objectTypeDeterminer h=SQ]nV{  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class $ r|R`n=  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 dl;~-'0  
PxzeN6f  
struts.serve.static.browserCache D5fJuT-bp  
If static content served by the Struts filter should set browser caching header properties or not kK&tB  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 !R;P"%PHV  
n={} ='  
struts.serve.static tagkklJ~  
      Whether the Struts filter should serve static content or not JL $6Fw;  
      是否struts过滤器应该提供静态内容 }qmBn`3R  
{PgB~|W  
struts.tag.altSyntax 3 Yf%M66t  
      Whether to use the alterative syntax for the tags or not r|4jR6%<'m  
      是否可以用替代的语法替代tags txQyHQ)@  
ta"/R@ k*  
struts.ui.templateDir kf\n  
      The directory containing UI templates \eF5* {9  
      UI templates的目录夹 w]]`/`  
mj5$ 2J  
struts.ui.theme @Tb T  
      The default UI template theme },'hhj]O  
      默认的UI template主题 O$u;]cg  
2Fi>nJ  
struts.url.http.port \DBoe :0~  
      The HTTP port used by Struts URLs }MP2)6  
      设置http端口 3 lH#+@  
P`6 T;|VDk  
struts.url.https.port E{gu39D  
      The HTTPS port used by Struts URLs xb\(>7M6Y  
      设置https端口 yveyAsN`B  
/+4Dq4{ t)  
struts.url.includeParams MuB8gSu  
      The default includeParams method to generate Struts URLs nR4L4tdS  
      在url中产生 默认的includeParams u^a\02aV[  
3U<\y6/  
& tQHxiDX  
struts.velocity.configfile @_ ^QBw0  
      The Velocity configuration file path .O @bX)  
      velocity配置文件路径 iKv`[k  
Ht+ng  
struts.velocity.contexts f/Km$#xOr  
      List of Velocity context names g0I<Fan  
      velocity的context列表 wpu]{~Y  
C0/s/p'  
pC(AM=RY!  
struts.velocity.manager.classname }`6-^lj  
      org.apache.struts2.views.velocity.VelocityManager implementation class @3wI(l[  
      org.apache.struts2.views.velocity.VelocityManager接口名 :Q2\3  
}Bw=2 ~  
struts.velocity.toolboxlocation Tj*o[2mD  
      The location of the Velocity toolbox 4LARqSmt  
      velocity工具盒的位置 =YF\mhMQ:  
struts.xslt.nocache eHK}U+"\  
      Whether or not XSLT templates should not be cached Hf+A52lrf  
      是否XSLT模版应该被缓存 d|TRP,y  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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