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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 L,tZh0  
]Pz|Oi+]  
struts.action.extension L)@`58Eil  
      The URL extension to use to determine if the request is meant for a Struts action 2J1B$.3'  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Ug%<b  
nqBG]y aI  
struts.configuration Au~+Zz|mQ  
      The org.apache.struts2.config.Configuration implementation class Jx)~kK  
        org.apache.struts2.config.Configuration接口名 N;e}dwh&  
D<lQoO+  
struts.configuration.files $b&BH'*'~  
      A list of configuration files automatically loaded by Struts p|xs|O6{  
      struts自动加载的一个配置文件列表 {(8U8f<'=y  
A&x ab  
struts.configuration.xml.reload `8.1&fBr  
      Whether to reload the XML configuration or not v/QEu^C  
      是否加载xml配置(true,false) )zo#1$C-  
yIn/Y0No  
struts.continuations.package &Xj{:s#  
      The package containing actions that use Rife continuations U]+b` m  
      含有actions的完整连续的package名称 " 6 uTo0  
u Zo]8mV  
struts.custom.i18n.resources @'6S[zU  
      Location of additional localization properties files to load `two|gX0K  
      加载附加的国际化属性文件(不包含.properties后缀) {ILp[ &sL  
GGYX!=]~  
struts.custom.properties 7O;BS}Lv=  
      Location of additional configuration properties files to load $`-SVC  
      加载附加的配置文件的位置 |_xZ/DT  
BT y]!%r'  
-6.i\ B  
struts.devMode oAIY=z  
      Whether Struts is in development mode or not 5 ]A$P\7~1  
      是否为struts开发模式 IBn'iE[>  
;$E~ZT4p  
struts.dispatcher.parametersWorkaround &;SwLDF"1  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic \<0G kp  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) cij]&$;Q  
::^qy^n  
struts.enable.DynamicMethodInvocation \;A50U|r  
      Allows one to disable dynamic method invocation from the URL [u!p-  
        允许动态方法调用 ,n /SDEL  
pe`TH::p  
struts.freemarker.manager.classname ej)BR'*  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class <-Kb@V3  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 o(v"?Y6  
`2 %eDFZ  
struts.i18n.encoding yBXkN&1=%;  
      The encoding to use for localization messages A1#4nkkc9  
      国际化信息内码 !3b|*].B  
DjevX7Q  
struts.i18n.reload |IyM"UH  
      Whether the localization messages should automatically be reloaded ;W$w=j: O{  
      是否国际化信息自动加载 9XJ9~I?  
Xy3g(x]  
struts.locale >S-N|uR6  
      The default locale for the Struts application S\yu%=h  
      默认的国际化地区信息 '/gxjr&  
~:ub  
struts.mapper.class &k%wOz1vM  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class pUCEYR  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Q+y-*1   
MIk #60Ab  
struts.multipart.maxSize b7>-aem@I  
      The maximize size of a multipart request (file upload) lu G023'  
      multipart请求信息的最大尺寸(文件上传用) kp#c:ym  
>h/)r6  
struts.multipart.parser oJ4mxi@|#  
      The org.apache.struts2.dispatcher.multipart. ZPxOds1m  
      MultiPartRequest parser implementation for a multipart request (file upload) C[J`x>-K  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) WL]Wu.k  
lyOrM7Gs  
fed[^wW  
struts.multipart.saveDir $Nt]${0  
      The directory to use for storing uploaded files Wj  
      设置存储上传文件的目录夹 m\}\RnZu  
(Ay4B*|!  
struts.objectFactory Hm8EYPr J  
      The com.opensymphony.xwork2.ObjectFactory implementation class }{w_>!ee  
      com.opensymphony.xwork2.ObjectFactory接口(spring) U# FJ8CD&u  
W:;`  
struts.objectFactory.spring.autoWire .eDxIWW+ft  
      Whether Spring should autoWire or not 1VPN#Q!  
      是否自动绑定Spring +^]PBMM1w  
#IL~0t  
struts.objectFactory.spring.useClassCache wzLiVe-  
      Whether Spring should use its class cache or not &s6(3k  
      是否spring应该使用自身的cache .@/z-OgXg  
oN1wrf}Sh  
struts.objectTypeDeterminer AIRVvW~($  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ,uqbS  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 t6,M  
yrK--C8  
struts.serve.static.browserCache sP8-gkkor  
If static content served by the Struts filter should set browser caching header properties or not 7K5o" "  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 V"Y Fu^L  
RZ,<D I  
struts.serve.static Q+%m+ /Zq  
      Whether the Struts filter should serve static content or not v,x%^gv0  
      是否struts过滤器应该提供静态内容 LTls]@N  
*v7& T  
struts.tag.altSyntax [0,q7d?"  
      Whether to use the alterative syntax for the tags or not 7gR;   
      是否可以用替代的语法替代tags C{I8Pio{b  
EuimZW\V  
struts.ui.templateDir X-2S*L'  
      The directory containing UI templates ZZ.0'   
      UI templates的目录夹 XtH_+W+O  
{i7Fu+xZj  
struts.ui.theme da86Jj=k  
      The default UI template theme ?PxYS%D_L  
      默认的UI template主题 m LxwJ  
.]P;fCQmM  
struts.url.http.port >J75T1PH=  
      The HTTP port used by Struts URLs kk\zZC <  
      设置http端口 ]2s Zu7  
R7;rBEt8  
struts.url.https.port [{!j9E?(  
      The HTTPS port used by Struts URLs <n2{+eO  
      设置https端口 fOjt` ~ToI  
$X\` 7`v  
struts.url.includeParams (LvOsr~  
      The default includeParams method to generate Struts URLs %IH|zSr)EM  
      在url中产生 默认的includeParams ws(}K+y_  
u.K'"-xt4K  
p2f WL  
struts.velocity.configfile `q{'_\gVt(  
      The Velocity configuration file path &T/9y W[L  
      velocity配置文件路径 {4jSj0W  
'*{Rn7B5  
struts.velocity.contexts LVcy.kU@]  
      List of Velocity context names -N!soJ<  
      velocity的context列表 Q\>SF  
xA1pDrfC/  
DBrzw+;e3  
struts.velocity.manager.classname 7/$Z7J!k  
      org.apache.struts2.views.velocity.VelocityManager implementation class 28qWC~/9  
      org.apache.struts2.views.velocity.VelocityManager接口名 ]( 6vG$\  
ghd[G}  
struts.velocity.toolboxlocation q>lkLHS  
      The location of the Velocity toolbox *z:lq2"G  
      velocity工具盒的位置 UU~;B  
struts.xslt.nocache NTX+7<  
      Whether or not XSLT templates should not be cached D'hr\C^  
      是否XSLT模版应该被缓存 +#"Ic:  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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