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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 \ 3js}  
.$ P2W0G  
struts.action.extension Mh-*5Rx  
      The URL extension to use to determine if the request is meant for a Struts action `)( <g  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 {TxVRpiP{Z  
:vgh KI  
struts.configuration nV,{w4t+  
      The org.apache.struts2.config.Configuration implementation class R1b )  
        org.apache.struts2.config.Configuration接口名 tr9_bl&z  
'@}?NV0  
struts.configuration.files wYcz\uV  
      A list of configuration files automatically loaded by Struts +y{93nl  
      struts自动加载的一个配置文件列表 3Av(|<cR  
&:e}4/G  
struts.configuration.xml.reload @y~BYiKs  
      Whether to reload the XML configuration or not ]cGz~TN~  
      是否加载xml配置(true,false) j O5:{%  
ym,Ot1  
struts.continuations.package `Hp.%G(  
      The package containing actions that use Rife continuations n[cyK$"  
      含有actions的完整连续的package名称 #&`WMLl+8  
&Ow?Hd0  
struts.custom.i18n.resources ,j(p}t  
      Location of additional localization properties files to load luxKgcU  
      加载附加的国际化属性文件(不包含.properties后缀) &L~31Ayj&  
$=QGua V  
struts.custom.properties lj SR?:\  
      Location of additional configuration properties files to load KiRt'  
      加载附加的配置文件的位置 @)juP- o%  
SUnmp  
r1az=$  
struts.devMode >. nt'BQ  
      Whether Struts is in development mode or not "<n"A7e  
      是否为struts开发模式 /x8C70W^  
*O}'2Ht6\  
struts.dispatcher.parametersWorkaround M]/wei"X  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic V]S06>P  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ??e#E[bI  
/CQQ^/  
struts.enable.DynamicMethodInvocation c7TWAG_+  
      Allows one to disable dynamic method invocation from the URL ZX5A%`<M  
        允许动态方法调用 9{^B Tc  
:7PSZc:xE  
struts.freemarker.manager.classname XL&eJ  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ka9v2tE\  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 U=cWvr65  
)}9}"jrDlx  
struts.i18n.encoding 3=L1HZH  
      The encoding to use for localization messages F>_lp,G   
      国际化信息内码 mX_Uhpw?t  
~9/nx|%D  
struts.i18n.reload t-|=weNy  
      Whether the localization messages should automatically be reloaded 'JKvy(n>  
      是否国际化信息自动加载 u1|Y;*  
qD>Y}Z !  
struts.locale A`U2HC   
      The default locale for the Struts application \#oV<MR  
      默认的国际化地区信息 Ckl]fy@D}  
)yH#*~X_   
struts.mapper.class JA(q>>4  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class +?m=f}>W1  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 w!h{P38  
Lzx(!<v  
struts.multipart.maxSize 2Lu{@*  
      The maximize size of a multipart request (file upload) xg1r 3  
      multipart请求信息的最大尺寸(文件上传用) ve]95w9J  
=<W[dV=W  
struts.multipart.parser hB<z]sl  
      The org.apache.struts2.dispatcher.multipart. C00*X[p  
      MultiPartRequest parser implementation for a multipart request (file upload) kC#B7*[RM  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Ex&RR< 5  
(i~%4w=  
D '_#?%3^  
struts.multipart.saveDir Yiw^@T\H`  
      The directory to use for storing uploaded files 7X3l&J2C4l  
      设置存储上传文件的目录夹 7a.#F]`  
1Y0oo jD  
struts.objectFactory ;8xn"G0}a  
      The com.opensymphony.xwork2.ObjectFactory implementation class UY& W]  
      com.opensymphony.xwork2.ObjectFactory接口(spring) {$eZF_}Y^  
>v4~:n2D  
struts.objectFactory.spring.autoWire Uz8C!L ">C  
      Whether Spring should autoWire or not Vm8_ !$F  
      是否自动绑定Spring 0QSi\: 1f  
{1&,6kJF&9  
struts.objectFactory.spring.useClassCache a}]@o"  
      Whether Spring should use its class cache or not &aht K}u  
      是否spring应该使用自身的cache lukRFN>c"  
G uI sM  
struts.objectTypeDeterminer /OtQk -E  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class iQR})=Q  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 jQlK-U=oi  
rG%_O$_dO  
struts.serve.static.browserCache x@\'@>_GM  
If static content served by the Struts filter should set browser caching header properties or not sOHAW*+  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 6Kc7@oO~  
NOr*+N\  
struts.serve.static L ]'CA^N  
      Whether the Struts filter should serve static content or not 2%%U)|39mB  
      是否struts过滤器应该提供静态内容 aRKG)0=  
WC&Ltw8  
struts.tag.altSyntax ,<WykeC  
      Whether to use the alterative syntax for the tags or not #IJKMSGw?E  
      是否可以用替代的语法替代tags cG"<*Xi<  
s-DL=MD  
struts.ui.templateDir 4Lq]yUj  
      The directory containing UI templates q&S.C9W  
      UI templates的目录夹 Mj;'vm7#'  
_C#( )#  
struts.ui.theme H~K2`Cr)4  
      The default UI template theme MX_a]$\ :n  
      默认的UI template主题 l;FgX+)  
m1Z8SM+  
struts.url.http.port ~ a&j4E  
      The HTTP port used by Struts URLs W/QOG&g  
      设置http端口 QI{Y@xQ  
! \Kh\  
struts.url.https.port J4^cd  
      The HTTPS port used by Struts URLs !@ '2  
      设置https端口 LBi>D`]  
JKbB,  
struts.url.includeParams *zht(~%  
      The default includeParams method to generate Struts URLs P z!yIj  
      在url中产生 默认的includeParams z Ns8\  
X~4:sJ\P=  
8jx1W9=`9[  
struts.velocity.configfile 6Izv&  
      The Velocity configuration file path PKG ,4v=  
      velocity配置文件路径 DKCy h`  
h--!pE+  
struts.velocity.contexts  ?wY.B  
      List of Velocity context names gJv^v`X  
      velocity的context列表 )ciHY6  
Oz7v hOU  
1 niTkop  
struts.velocity.manager.classname 'gH#\he[Dh  
      org.apache.struts2.views.velocity.VelocityManager implementation class GlZDuU  
      org.apache.struts2.views.velocity.VelocityManager接口名 Kf5p* AI  
RuuU}XQ  
struts.velocity.toolboxlocation wfzb:Aig`  
      The location of the Velocity toolbox D:,<9%A  
      velocity工具盒的位置 j!H?dnE||  
struts.xslt.nocache 0g)mf6}o  
      Whether or not XSLT templates should not be cached #XPU$=  
      是否XSLT模版应该被缓存 e.H"!X!0#H  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八