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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 y/OPN<=*  
lj"72   
struts.action.extension D:fLQ8a  
      The URL extension to use to determine if the request is meant for a Struts action ebIRXUF}>  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 C$7dmGjZ  
(x/xqDpmBS  
struts.configuration -(l/.yE{X  
      The org.apache.struts2.config.Configuration implementation class 2M*84oh8P  
        org.apache.struts2.config.Configuration接口名 7"s8G 7  
[Q:mLc  
struts.configuration.files xF7q9'/F  
      A list of configuration files automatically loaded by Struts E2( {[J  
      struts自动加载的一个配置文件列表 C~8;2/F7  
7|^5E*8/  
struts.configuration.xml.reload A)641"[  
      Whether to reload the XML configuration or not f/tJ>^N5  
      是否加载xml配置(true,false) J:G~9~V^  
'-vzQd@y  
struts.continuations.package  :qrCqFl  
      The package containing actions that use Rife continuations r"x/,!_E  
      含有actions的完整连续的package名称 on)$y&lu  
UCI !>G  
struts.custom.i18n.resources \@F!h8e4  
      Location of additional localization properties files to load @{o3NR_  
      加载附加的国际化属性文件(不包含.properties后缀) W'f)W4D$6  
t[HA86X  
struts.custom.properties %C~LKs5oH  
      Location of additional configuration properties files to load k/.a yLq  
      加载附加的配置文件的位置 Rd>PE=u  
V^qkHm e  
a:}&v^v  
struts.devMode OuV f<@a  
      Whether Struts is in development mode or not 5<mGG;F  
      是否为struts开发模式 sX|bp)Nw  
;*q  
struts.dispatcher.parametersWorkaround qN(,8P\90  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 92 =huV  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) (cdtUE8  
taqmtXU=(  
struts.enable.DynamicMethodInvocation :2E?|}`7\  
      Allows one to disable dynamic method invocation from the URL /6nj 4.xxc  
        允许动态方法调用 wSIfqf+y  
Ob m%\h  
struts.freemarker.manager.classname %G/j+Pf  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Vc?=cQ'c  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 al{}p  
B| .8+Q  
struts.i18n.encoding =`KV),\  
      The encoding to use for localization messages tP0!TkTo9  
      国际化信息内码 q+?>shqsZ  
wH0Ks5  
struts.i18n.reload g"|Z1iy|9  
      Whether the localization messages should automatically be reloaded |!\5nix3A>  
      是否国际化信息自动加载 I'a&n}j x  
  ]n (:X  
struts.locale \p{$9e;8yT  
      The default locale for the Struts application 1^^9'/  
      默认的国际化地区信息 ^K`Vqo  
;.#l[  
struts.mapper.class ^UiSezc I  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class U!Eo*?LU$  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 0 \}%~e  
x'hUw*  
struts.multipart.maxSize PBY ^m+  
      The maximize size of a multipart request (file upload) mYw9lM  
      multipart请求信息的最大尺寸(文件上传用) m5\/7 VC  
:+$/B N:iO  
struts.multipart.parser :9f/d;Mo3  
      The org.apache.struts2.dispatcher.multipart. ?*: mR|=  
      MultiPartRequest parser implementation for a multipart request (file upload) eO?@K$I  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) - A)XYz  
" UxKG+   
x>*#cOVz;C  
struts.multipart.saveDir BY!M(X jrZ  
      The directory to use for storing uploaded files ~Lf>/w  
      设置存储上传文件的目录夹 X9/]< Y<!  
c/ s$*"  
struts.objectFactory ^yp`<=  
      The com.opensymphony.xwork2.ObjectFactory implementation class  v+qHH8  
      com.opensymphony.xwork2.ObjectFactory接口(spring) +?R !  
 SE D_^  
struts.objectFactory.spring.autoWire x9B5@2J1  
      Whether Spring should autoWire or not V{+5Fas^l  
      是否自动绑定Spring iIO_d4Z  
&HIG776  
struts.objectFactory.spring.useClassCache GK\`8xWE  
      Whether Spring should use its class cache or not J6W"t  
      是否spring应该使用自身的cache #(f- cK  
@-H D9h  
struts.objectTypeDeterminer _ tO:,%dL  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class `8<h aU  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Kta7xtu  
4M{]YZMw8  
struts.serve.static.browserCache fkW TO"f-  
If static content served by the Struts filter should set browser caching header properties or not @l^BW*BCo  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 6O# xV:Uc<  
~ $QNp#dq  
struts.serve.static HI*j6H?\  
      Whether the Struts filter should serve static content or not X4dXO5\  
      是否struts过滤器应该提供静态内容 =BNS3W6  
|6y(7Ha  
struts.tag.altSyntax `(6g87h  
      Whether to use the alterative syntax for the tags or not vivU4:uH3  
      是否可以用替代的语法替代tags 7PG|e#  
3IHA+Zz  
struts.ui.templateDir |JRaskd  
      The directory containing UI templates .W1i3Z6g  
      UI templates的目录夹 -/z#?J\  
"[M k5tM  
struts.ui.theme Z9vJF.clO  
      The default UI template theme [S#QGB19  
      默认的UI template主题 >UDb:N[  
R<AT}!mkR  
struts.url.http.port 6i.!C5YX]  
      The HTTP port used by Struts URLs Y[WL}:"93  
      设置http端口 UYW{A G2C  
, s .{R  
struts.url.https.port g?=|kp  
      The HTTPS port used by Struts URLs %}x$YD O  
      设置https端口 "2a&G3}t"  
AKkr )VgY  
struts.url.includeParams |ZBHXv  
      The default includeParams method to generate Struts URLs PShluhY  
      在url中产生 默认的includeParams _8eN^oc%  
ZclZD{%8J  
)/_T`cN  
struts.velocity.configfile DS]C`aM9  
      The Velocity configuration file path w=MiJr#3^  
      velocity配置文件路径 Q@HW`@i  
8M9}os  
struts.velocity.contexts wdzZ41y1  
      List of Velocity context names Y]-7T-*+t  
      velocity的context列表 +rcDA|  
b2p;-rv  
Pe<}kS m4  
struts.velocity.manager.classname w +~,Mv\  
      org.apache.struts2.views.velocity.VelocityManager implementation class j\9v1O!T  
      org.apache.struts2.views.velocity.VelocityManager接口名 ="Sa>-d o,  
xHo iu$i6  
struts.velocity.toolboxlocation C. rLog#  
      The location of the Velocity toolbox uBXl ltU  
      velocity工具盒的位置 HJ+I;OJ  
struts.xslt.nocache vE=)qn=a  
      Whether or not XSLT templates should not be cached {YzRf S  
      是否XSLT模版应该被缓存 U#{^29ik=o  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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