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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 T3Sz<K$E  
Z6nQW53-  
struts.action.extension _U o3_us  
      The URL extension to use to determine if the request is meant for a Struts action DB0?H+8t  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 g)}q3-<AK>  
YlXqj\a  
struts.configuration M}`T-"qf  
      The org.apache.struts2.config.Configuration implementation class &srD7v9M8  
        org.apache.struts2.config.Configuration接口名 L=5Y^f'aU  
(ylZ[M&B:  
struts.configuration.files TCK#bJ  
      A list of configuration files automatically loaded by Struts &w{z  
      struts自动加载的一个配置文件列表 S3Fj /2Q8  
DG,m;vg+  
struts.configuration.xml.reload OX}ZdM!&f  
      Whether to reload the XML configuration or not %r@:7/  
      是否加载xml配置(true,false) A~;.9{6J[t  
_`Dz%(c  
struts.continuations.package IH"_6s#$&  
      The package containing actions that use Rife continuations >ktekO:H  
      含有actions的完整连续的package名称 H{uR+&<  
O`_]n  
struts.custom.i18n.resources (hIe!"s *  
      Location of additional localization properties files to load miV8jaV  
      加载附加的国际化属性文件(不包含.properties后缀) t'DIKug&  
u&'&E   
struts.custom.properties `a8&7 J(  
      Location of additional configuration properties files to load -3SRGr  
      加载附加的配置文件的位置 <U}25AR  
U8eU[|-8O/  
}7i}dyQv}  
struts.devMode lWFm>DiLY  
      Whether Struts is in development mode or not m@yx6[E#  
      是否为struts开发模式 rUmnv%qTS  
XeozRfk%J|  
struts.dispatcher.parametersWorkaround ^mZTki4  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic iJk/fvi  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ^3nB2G.ax  
R/&C}6G n  
struts.enable.DynamicMethodInvocation /?C6 oj1  
      Allows one to disable dynamic method invocation from the URL ,-.=]r/s  
        允许动态方法调用 !< ^`Sx/+  
'~76Y9mv  
struts.freemarker.manager.classname .-: 6L2  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class =@k 3*#\  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 Rp.FG   
w&}UgtEm  
struts.i18n.encoding a;0$fRy  
      The encoding to use for localization messages u_S>`I  
      国际化信息内码 8;P_KRaE  
g%d&>y?1r  
struts.i18n.reload 4\Cb4jq%/  
      Whether the localization messages should automatically be reloaded }q~xr3#  
      是否国际化信息自动加载 |)Sx"B)  
?Tk4Vt  
struts.locale Alb5#tm:m  
      The default locale for the Struts application qzu%Pp6If  
      默认的国际化地区信息 LWP&Si*j  
JOx""R8T5  
struts.mapper.class 3yIC@>&y(8  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class .:jfNp~jt  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 %i`YJ  
h>K%Ox R  
struts.multipart.maxSize z/7"!  
      The maximize size of a multipart request (file upload) \6v*c;ZF  
      multipart请求信息的最大尺寸(文件上传用) UjQi9ELoJ  
0)3*E)g{  
struts.multipart.parser Gnmxp%&}P|  
      The org.apache.struts2.dispatcher.multipart. dDla?)F  
      MultiPartRequest parser implementation for a multipart request (file upload) \) T4NN  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) lr@H4EJ{  
S#, E)h/  
;/-#oW@gQ  
struts.multipart.saveDir REwZ41   
      The directory to use for storing uploaded files #$9rH 2zd  
      设置存储上传文件的目录夹 ' 5"`H>[  
IK^jzx   
struts.objectFactory : S |)  
      The com.opensymphony.xwork2.ObjectFactory implementation class (s.S n(E  
      com.opensymphony.xwork2.ObjectFactory接口(spring) lGP'OY"Q  
u.sn"G-c  
struts.objectFactory.spring.autoWire L`{EXn[  
      Whether Spring should autoWire or not l~Sn`%PgA  
      是否自动绑定Spring y:8*!}fR  
+EBoFeeIG  
struts.objectFactory.spring.useClassCache Fu cLcq2Z  
      Whether Spring should use its class cache or not ,4%'~8'3  
      是否spring应该使用自身的cache oLp:Z=  
KI="O6 h  
struts.objectTypeDeterminer URD<KIN>  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 3QrYH @7zx  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ]n:)W.|`R  
GlVD!0  
struts.serve.static.browserCache fw1g;;E  
If static content served by the Struts filter should set browser caching header properties or not G&Sp }  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 #ab=]}2W_g  
h4^ a#%$  
struts.serve.static lS(?x|dO  
      Whether the Struts filter should serve static content or not <j.bG 7  
      是否struts过滤器应该提供静态内容 $Y4;Xe=  
YFCP'J"Z  
struts.tag.altSyntax rE bC_<  
      Whether to use the alterative syntax for the tags or not pc w^W  
      是否可以用替代的语法替代tags O9k9hRE]z  
j9za)G-J  
struts.ui.templateDir 5Qik{cWxBq  
      The directory containing UI templates B&`hvR  
      UI templates的目录夹 ?1('s0s\,  
8uX1('+T*  
struts.ui.theme 8eSIY17  
      The default UI template theme n@xDFa  
      默认的UI template主题 gC#PqK~  
5xi f0h-`  
struts.url.http.port 2Ek6YNx  
      The HTTP port used by Struts URLs MX?K3=j @>  
      设置http端口 O=#FpPHrdw  
(@dh"=Lt\  
struts.url.https.port HZdmL-1Z^+  
      The HTTPS port used by Struts URLs ` =!&9o  
      设置https端口 Dqe/n_Z  
i=-zaboo  
struts.url.includeParams elZ?>5P$}  
      The default includeParams method to generate Struts URLs  XGEAcN  
      在url中产生 默认的includeParams s,Cm}4L6  
oQ 5g0(J~  
ZN|DR|c UY  
struts.velocity.configfile Z^>[{|lIA  
      The Velocity configuration file path U%ce0z  
      velocity配置文件路径 cX@~Hk4=\  
G|yX9C]R   
struts.velocity.contexts Ay!=Yk ^~  
      List of Velocity context names [K[tL|EK  
      velocity的context列表 j[yGfDb  
\@Gyl_6^  
=V1k'XJ  
struts.velocity.manager.classname phUno2fH  
      org.apache.struts2.views.velocity.VelocityManager implementation class Wy,DA^\ef  
      org.apache.struts2.views.velocity.VelocityManager接口名 ,*r"cmz  
Y2j>lf?8  
struts.velocity.toolboxlocation >/EmC3?b!  
      The location of the Velocity toolbox K GkzE  
      velocity工具盒的位置 Ywt_h;:  
struts.xslt.nocache 'Ol}nmJ'n  
      Whether or not XSLT templates should not be cached `|i #)  
      是否XSLT模版应该被缓存 !'B.ad  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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