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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 o-GlBXI;  
#f\U3p  
struts.action.extension vZhN% DfY  
      The URL extension to use to determine if the request is meant for a Struts action nFX8:fZ$>  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。  x)THeH@  
M=`F $  
struts.configuration /DQoM@X  
      The org.apache.struts2.config.Configuration implementation class 9_ KUUA  
        org.apache.struts2.config.Configuration接口名 1;]cYIq  
>9uDY+70I3  
struts.configuration.files hi`\3B  
      A list of configuration files automatically loaded by Struts R l^ENrv!]  
      struts自动加载的一个配置文件列表 "9&6bBa  
zRL[.O9  
struts.configuration.xml.reload 4F)z-<-b  
      Whether to reload the XML configuration or not .!l#z|/x  
      是否加载xml配置(true,false) \_De( p  
QVb @/  
struts.continuations.package 6EGh8H f  
      The package containing actions that use Rife continuations zw7=:<z=  
      含有actions的完整连续的package名称 Z[ZqQ` 7N  
8e[kE>tS._  
struts.custom.i18n.resources `GqS.O}C  
      Location of additional localization properties files to load 'fy1'^VPAV  
      加载附加的国际化属性文件(不包含.properties后缀) ;oH%d;H  
B9>3xxp(by  
struts.custom.properties z )a8 ^]`  
      Location of additional configuration properties files to load b@/z^k{%  
      加载附加的配置文件的位置 dfO@Yo-?*'  
A_CEpG]  
2oGl"3/p  
struts.devMode M _Z*F!al<  
      Whether Struts is in development mode or not 7'J}|m{7  
      是否为struts开发模式 1Xu\Tm\Ux  
dAm( uJ  
struts.dispatcher.parametersWorkaround LXJ"ct  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic =S|SQz5%w  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 9fzbR~s  
f+Put  
struts.enable.DynamicMethodInvocation UF|v=|*{#  
      Allows one to disable dynamic method invocation from the URL Jc-0.^]E}  
        允许动态方法调用 r2M._}bF  
uG${`4  
struts.freemarker.manager.classname  Ae <v  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class IgG@v9'  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 n/=&?#m}d  
(SkI9[1\@3  
struts.i18n.encoding w`CGDF\Oo  
      The encoding to use for localization messages e7{3:y|]d3  
      国际化信息内码 *jCXH<?R  
( T VzYm y  
struts.i18n.reload rgRh ySud  
      Whether the localization messages should automatically be reloaded A+iQH1C0h  
      是否国际化信息自动加载 NMJ230?  
j_o6+R k  
struts.locale 0^? 3hK  
      The default locale for the Struts application '<^%> R2  
      默认的国际化地区信息 \T/~" w  
9V0iV5?(P  
struts.mapper.class A@?2qX^4  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 0>)('Kv  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ;B:'8$j$  
kC!7<%(  
struts.multipart.maxSize gX{V>T(<  
      The maximize size of a multipart request (file upload) Yih^ZTf]O?  
      multipart请求信息的最大尺寸(文件上传用) H8`K?SXU  
n,wLk./`  
struts.multipart.parser dp&4G6Y<A  
      The org.apache.struts2.dispatcher.multipart. Fm#4;'x5E  
      MultiPartRequest parser implementation for a multipart request (file upload) {I@@i8)]  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) yCf*ts1  
53=VIN]  
#?@k=e\  
struts.multipart.saveDir 5dXC  
      The directory to use for storing uploaded files EZ8Ih,j9  
      设置存储上传文件的目录夹 c}U&!R2p{  
Y 'Yoc  
struts.objectFactory Ki,]*-XO  
      The com.opensymphony.xwork2.ObjectFactory implementation class Aq^1(-g  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Q6`oo/  
^; Nu\c  
struts.objectFactory.spring.autoWire %+:%%r=Q  
      Whether Spring should autoWire or not |0vY'A)]  
      是否自动绑定Spring x&8HBF'  
S =U*is  
struts.objectFactory.spring.useClassCache smoz5~  
      Whether Spring should use its class cache or not N>z_uPy{A  
      是否spring应该使用自身的cache vnw83a%3  
g|9' Lk  
struts.objectTypeDeterminer R.Ao%VT  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 8*V3g_z  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 C o4QWyt:  
_ncqd,&z  
struts.serve.static.browserCache p,* rVz[Y  
If static content served by the Struts filter should set browser caching header properties or not xm6=l".%z  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Sl/[9- a)  
Dr^#e  
struts.serve.static +#"CgZ]  
      Whether the Struts filter should serve static content or not [;7&E{,C  
      是否struts过滤器应该提供静态内容 $A`D p{e"  
GO.mT/rB  
struts.tag.altSyntax O'Lgb9  
      Whether to use the alterative syntax for the tags or not W~$YKBW  
      是否可以用替代的语法替代tags ;_@u@$=~  
9*h?g+\  
struts.ui.templateDir 0V uG(O  
      The directory containing UI templates @{+c6.*}  
      UI templates的目录夹 ULIbVy7Y  
frWw-<HoI  
struts.ui.theme c_s=>z  
      The default UI template theme r{pTM cDS  
      默认的UI template主题 uCB7(<  
s(w6Ldi  
struts.url.http.port 8`EzvEm  
      The HTTP port used by Struts URLs $VvL  
      设置http端口 U!r2`2LY  
< S:SIaf0  
struts.url.https.port EJ`JN|,M  
      The HTTPS port used by Struts URLs YLVIn_\}  
      设置https端口 @/@#,+  
@MWrUx  
struts.url.includeParams ^G.PdX$M  
      The default includeParams method to generate Struts URLs 2j9Mr  
      在url中产生 默认的includeParams '2vZ%C$  
ypM0}pdvTp  
x6d+`4  
struts.velocity.configfile {9q~bt  
      The Velocity configuration file path OGw =e{  
      velocity配置文件路径 IP~*_R"bM  
h|$.`$  
struts.velocity.contexts Kr3L~4>  
      List of Velocity context names 9+)5#!0  
      velocity的context列表 aF7" 4^P  
8  ;y N  
+Em+W#i%?  
struts.velocity.manager.classname v@_b"w_TY  
      org.apache.struts2.views.velocity.VelocityManager implementation class l`G .lM(  
      org.apache.struts2.views.velocity.VelocityManager接口名 7E*d>:5I  
R=yn4>I  
struts.velocity.toolboxlocation ~4S@kYe{3K  
      The location of the Velocity toolbox v_3r8My-  
      velocity工具盒的位置 R#.FfWTZ  
struts.xslt.nocache >T[1=;o]  
      Whether or not XSLT templates should not be cached g]PmmK_L  
      是否XSLT模版应该被缓存 #]>Z4=]v  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
10+5=?,请输入中文答案:十五