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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 Zg/ ],/`  
OoOr@5g  
struts.action.extension $0P7^4)w:  
      The URL extension to use to determine if the request is meant for a Struts action ,<O|Iis  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 K~Z$NS^W&  
;b;Bl:%?  
struts.configuration Zil<*(kv{  
      The org.apache.struts2.config.Configuration implementation class vd#BT$d?  
        org.apache.struts2.config.Configuration接口名 `| f1^C^  
$.T\dm-  
struts.configuration.files }CB9H$FkCY  
      A list of configuration files automatically loaded by Struts |P(8T'  
      struts自动加载的一个配置文件列表 j5V{,lf  
WdJJt2'  
struts.configuration.xml.reload ]D&\|,,(  
      Whether to reload the XML configuration or not 1CA% nqlng  
      是否加载xml配置(true,false)  MKZq*  
>o|.0aw<  
struts.continuations.package 3R6=C~  
      The package containing actions that use Rife continuations I|R;)[;X  
      含有actions的完整连续的package名称 VGeyZ\vU  
0W!S.]^1  
struts.custom.i18n.resources $i"IOp  
      Location of additional localization properties files to load h}yfL@  
      加载附加的国际化属性文件(不包含.properties后缀) Y:4 /06I  
/MV2#P@  
struts.custom.properties 9Je+|+s]  
      Location of additional configuration properties files to load zx`(ojfu  
      加载附加的配置文件的位置 ) $=!e%{  
"s.s(TR8  
Bf8[(oc~  
struts.devMode f2G 3cg~H  
      Whether Struts is in development mode or not I,@ 6w  
      是否为struts开发模式 Tjj-8cg  
)UN_,'H/V  
struts.dispatcher.parametersWorkaround R-OQ(]<*  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 7p[NuU*Gg  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) (%SKTM  
%%qg<iO_  
struts.enable.DynamicMethodInvocation Da&Brm   
      Allows one to disable dynamic method invocation from the URL 2"8qtG`Et  
        允许动态方法调用 ` 3h,Cy^  
Zx U?d   
struts.freemarker.manager.classname jWcfQ  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Z^6qxZJ7  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 33OkY C%e  
]3I@5}5%  
struts.i18n.encoding m)e~HP7M  
      The encoding to use for localization messages rB}2F*eT  
      国际化信息内码 ^C70b)68  
mae@L  
struts.i18n.reload Ob@HzXH  
      Whether the localization messages should automatically be reloaded n7(/ml+Q_  
      是否国际化信息自动加载 ?#Y1E~N  
"mB /"  
struts.locale K-4o_:F  
      The default locale for the Struts application J>Bc-%.Q  
      默认的国际化地区信息 *IIuGtS  
&2,^CG  
struts.mapper.class Hd?#^X  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class `[F[0fY-  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 QR {>]I  
,| ~Pa  
struts.multipart.maxSize :YM1p&|fS  
      The maximize size of a multipart request (file upload) "P8( R  
      multipart请求信息的最大尺寸(文件上传用) OTD<3Q q  
#y*p7~|@  
struts.multipart.parser 5m9;'SF  
      The org.apache.struts2.dispatcher.multipart. 3h**y %^  
      MultiPartRequest parser implementation for a multipart request (file upload) KhZ\q|5  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) WuMr";2*E  
'Oa(]Br[  
I;+>@Cn(g<  
struts.multipart.saveDir *s$:"g-  
      The directory to use for storing uploaded files ?9Sc KN  
      设置存储上传文件的目录夹 oL -udH  
7O<K?;I  
struts.objectFactory OEhDRU%k  
      The com.opensymphony.xwork2.ObjectFactory implementation class b{a\j%  
      com.opensymphony.xwork2.ObjectFactory接口(spring) > 8%O;3-m#  
|G(I,EPag  
struts.objectFactory.spring.autoWire "J>8ZUP  
      Whether Spring should autoWire or not OpLUmn  
      是否自动绑定Spring ,nSapmg  
yt#~n _  
struts.objectFactory.spring.useClassCache tG*HUN?*  
      Whether Spring should use its class cache or not bj7r"_  
      是否spring应该使用自身的cache 1R"Z+tNB  
g96]>]A<{  
struts.objectTypeDeterminer F&$~]R=&  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class /TY=ig1z  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 x bD]EC  
g]jCR*]  
struts.serve.static.browserCache g<^-[w4/  
If static content served by the Struts filter should set browser caching header properties or not A@)ou0[n@  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 [ ]42$5eof  
UAOH9*9*  
struts.serve.static l^R1XBP  
      Whether the Struts filter should serve static content or not T4h&ly5 f  
      是否struts过滤器应该提供静态内容 oD=+  
lD6PKZ\RIj  
struts.tag.altSyntax mO&zE;/[  
      Whether to use the alterative syntax for the tags or not n7pjj  
      是否可以用替代的语法替代tags ]:.9:RmEV  
%s ">:  
struts.ui.templateDir S3gd'Bahq  
      The directory containing UI templates `c?8i  
      UI templates的目录夹 @waY+sqt=  
MR/gLm(8(  
struts.ui.theme pZ5eGA=  
      The default UI template theme TnJJ& "~3b  
      默认的UI template主题 5U6b\jxX  
E(Zm6~  
struts.url.http.port rT';7>{g  
      The HTTP port used by Struts URLs {ZKXT8'  
      设置http端口 c|Fu6LF a  
? u~?:a@K  
struts.url.https.port @P/6NMjZ^  
      The HTTPS port used by Struts URLs Vr hd\  
      设置https端口 |nmt /[  
;TulRx]EA  
struts.url.includeParams 0N):8`dY  
      The default includeParams method to generate Struts URLs s3y"y_u  
      在url中产生 默认的includeParams S@cKo&^  
(lt{$0   
|Q$9I#rv  
struts.velocity.configfile Wd?=RO`a  
      The Velocity configuration file path s^HI%mdf  
      velocity配置文件路径 ]K|td)1X  
-`,F e3  
struts.velocity.contexts ahg]OWn#  
      List of Velocity context names xM**n3SZ`  
      velocity的context列表 gmN$}Gy}  
t>h:s3c  
o_n 3.O=  
struts.velocity.manager.classname dWiX_&g  
      org.apache.struts2.views.velocity.VelocityManager implementation class 9](RZ6A+o  
      org.apache.struts2.views.velocity.VelocityManager接口名 d$:LUxM#  
DVjwY_nG7  
struts.velocity.toolboxlocation 4P^CqD&i  
      The location of the Velocity toolbox v0KJKrliGO  
      velocity工具盒的位置 k1~? }+<e  
struts.xslt.nocache ="de+S8W  
      Whether or not XSLT templates should not be cached >*WT[UU  
      是否XSLT模版应该被缓存 Z+2 j(  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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