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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ZzLmsTtzIu  
<b>@'\w9  
struts.action.extension ^RytBwzKM  
      The URL extension to use to determine if the request is meant for a Struts action FR9qW$B  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 VTySKY+  
cc7*O  
struts.configuration j?%^N\9  
      The org.apache.struts2.config.Configuration implementation class w\k|^  
        org.apache.struts2.config.Configuration接口名 C J S  
)ALPMmlRs  
struts.configuration.files pkpD1c^  
      A list of configuration files automatically loaded by Struts IRNL(9H  
      struts自动加载的一个配置文件列表 |WH'aGG  
QlJ cj+_h  
struts.configuration.xml.reload "P HkbU  
      Whether to reload the XML configuration or not {8UYu2t  
      是否加载xml配置(true,false) *"` dO9Yf_  
qLBXyQ;U  
struts.continuations.package Y~Y-L<`I  
      The package containing actions that use Rife continuations 9{|JmgO!  
      含有actions的完整连续的package名称 G\G TS}u[  
m\`dLrPX4j  
struts.custom.i18n.resources zF6 R\w  
      Location of additional localization properties files to load R/r)l<X@  
      加载附加的国际化属性文件(不包含.properties后缀) 5=tvB,Ux4  
3TqC.S5+  
struts.custom.properties F,Q\_H##x4  
      Location of additional configuration properties files to load LnIln[g:  
      加载附加的配置文件的位置 D"0:n.  
PVHJIB  
*LpEH,J  
struts.devMode >_P7k5Y^  
      Whether Struts is in development mode or not  S[!K  
      是否为struts开发模式 \$Y Kw0K  
:b)IDcW&j:  
struts.dispatcher.parametersWorkaround =gS?atbX  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic J#vIz  Q  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) $ysemDq-a\  
`Bk7W]{L  
struts.enable.DynamicMethodInvocation R>SS\YC'X  
      Allows one to disable dynamic method invocation from the URL )I'?]p<  
        允许动态方法调用 C( 8i0(1  
W[BZ/   
struts.freemarker.manager.classname t!Q uM_i3  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class jY%&G#4  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 nf& P Dv1  
;q]Jm  
struts.i18n.encoding C,7d  
      The encoding to use for localization messages Z"PPXv-<jY  
      国际化信息内码 0X@!i3eu  
>(mp$#+w  
struts.i18n.reload WZO8|hY  
      Whether the localization messages should automatically be reloaded Pe6}y  
      是否国际化信息自动加载 "*W:  
2^w3xL"   
struts.locale r!SMF ]?SJ  
      The default locale for the Struts application ^Gt&c_gH  
      默认的国际化地区信息 2g~qVT,  
RUqN,C,m5I  
struts.mapper.class aTS\NpK&  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class XWN ra  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 DhZuQpH  
\MBbZB9@  
struts.multipart.maxSize koOkm:(,  
      The maximize size of a multipart request (file upload) $U%M]_  
      multipart请求信息的最大尺寸(文件上传用) r/zuo6"5  
0JzH dz  
struts.multipart.parser Oxs O  
      The org.apache.struts2.dispatcher.multipart. 3/c3e{,!  
      MultiPartRequest parser implementation for a multipart request (file upload) 85CH% I#  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) li'h&!|]  
~_opU(;f  
aX`"V/  
struts.multipart.saveDir O O?e8OU  
      The directory to use for storing uploaded files FsQeyh>  
      设置存储上传文件的目录夹 {y)O ?9q  
MCOiB <L6  
struts.objectFactory {$D[l hj  
      The com.opensymphony.xwork2.ObjectFactory implementation class Cbu/7z   
      com.opensymphony.xwork2.ObjectFactory接口(spring) !>QS746S@  
&_Kb;UVRj  
struts.objectFactory.spring.autoWire j6v|D>I  
      Whether Spring should autoWire or not -!MrG68  
      是否自动绑定Spring  [U9b_`  
xi['knUi2-  
struts.objectFactory.spring.useClassCache VP0q?lh  
      Whether Spring should use its class cache or not MmiC%"7wt  
      是否spring应该使用自身的cache wZ6D\I  
rk$&sDc/3  
struts.objectTypeDeterminer o V"d%ks  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class xxjg)rVuy  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 xCN6?  
{gh41G;n  
struts.serve.static.browserCache 2gM=vaiH=  
If static content served by the Struts filter should set browser caching header properties or not _CqVH5U?  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 _8t5rF  
@>`+eg][?P  
struts.serve.static <vMna< /d  
      Whether the Struts filter should serve static content or not K$v SdpC  
      是否struts过滤器应该提供静态内容 *D`]7I~}  
$pW6a %7  
struts.tag.altSyntax O~ a`T  
      Whether to use the alterative syntax for the tags or not j>j Zg<}J  
      是否可以用替代的语法替代tags J{>9ctN  
O/g|E47  
struts.ui.templateDir p3tu_If  
      The directory containing UI templates DV+M;rs  
      UI templates的目录夹 ?bFP'.  
iMG)zPj  
struts.ui.theme %smQ`u|  
      The default UI template theme ^(z7?T  
      默认的UI template主题 *+(t2!yFmE  
.OhpItn  
struts.url.http.port lGrp^  
      The HTTP port used by Struts URLs fH#yJd2?f  
      设置http端口 |;xm-AM4r  
A/5??3H  
struts.url.https.port ZEY="pf  
      The HTTPS port used by Struts URLs TljN!nv]  
      设置https端口 *u LOoq  
#I> c$dd  
struts.url.includeParams YywiY).]@  
      The default includeParams method to generate Struts URLs WMy97*L<  
      在url中产生 默认的includeParams  1B}q?8n  
[/dGOl+  
6cR}Mm9Hx3  
struts.velocity.configfile xPBSJhla  
      The Velocity configuration file path A:|dY^,:?*  
      velocity配置文件路径 c:#<g/-{wM  
b#ga  
struts.velocity.contexts bVfFhfh*  
      List of Velocity context names yx5F]Z<M2  
      velocity的context列表 b-*3]gB  
5mzOr4*0  
&UzeNL"]  
struts.velocity.manager.classname :`u?pc27Sm  
      org.apache.struts2.views.velocity.VelocityManager implementation class WFWQ;U{|  
      org.apache.struts2.views.velocity.VelocityManager接口名 ^gw htnI  
[6 d~q]KH  
struts.velocity.toolboxlocation GMk\ l  
      The location of the Velocity toolbox k^<s|8Y  
      velocity工具盒的位置 TUE*mDRmP  
struts.xslt.nocache RF3?q6j ,  
      Whether or not XSLT templates should not be cached pypW  
      是否XSLT模版应该被缓存 gut[q  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
10+5=?,请输入中文答案:十五