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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ?x @khzk  
$u :=lA:N  
struts.action.extension 7-DC"`Y8e  
      The URL extension to use to determine if the request is meant for a Struts action z0sB*5VH  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 FQyiIT6  
1yu!:8=ee  
struts.configuration $m>e!P>%u  
      The org.apache.struts2.config.Configuration implementation class v|GvN|_|  
        org.apache.struts2.config.Configuration接口名 P7b2I=t  
,o)MiR9-[A  
struts.configuration.files ,n*.Yq  
      A list of configuration files automatically loaded by Struts 5kF5`5+Vj  
      struts自动加载的一个配置文件列表 t>xV]W<  
iYf4 /1IG,  
struts.configuration.xml.reload FyEl@ }W  
      Whether to reload the XML configuration or not <_![~n$H  
      是否加载xml配置(true,false) N5\<w>  
Li2)~4p><  
struts.continuations.package |1D`v9  
      The package containing actions that use Rife continuations "{k3~epYaN  
      含有actions的完整连续的package名称 9M<? *8)  
VsC]z, oV  
struts.custom.i18n.resources ;IT^SHym  
      Location of additional localization properties files to load #d~"bn q;c  
      加载附加的国际化属性文件(不包含.properties后缀) zkMQ= ,[  
oC [g  
struts.custom.properties u2t<auE9^  
      Location of additional configuration properties files to load e([&Nr8h  
      加载附加的配置文件的位置 \ *2IU"R  
fHigLL0B  
\&H%k   
struts.devMode RA6D dqT~  
      Whether Struts is in development mode or not C\{4<:<_&  
      是否为struts开发模式 OH~t\fQ1Zf  
r!#3>F;B  
struts.dispatcher.parametersWorkaround *s^5 BLI9  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ZZTV >:  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) =BtEduz  
ew(6;}+^/  
struts.enable.DynamicMethodInvocation ?vVkZsU  
      Allows one to disable dynamic method invocation from the URL ,"'agg:St  
        允许动态方法调用 Y'-Lt5SCS  
O v-I2  
struts.freemarker.manager.classname 4g 1h:I/  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class +FiV!nRkZ  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 n'ro5D  
DB0xIP~i,?  
struts.i18n.encoding G<-.{Gx)  
      The encoding to use for localization messages Z8 T{Xw6%  
      国际化信息内码 0pR04"`;  
3 *G=U  
struts.i18n.reload B;m18LDu  
      Whether the localization messages should automatically be reloaded a5'QL(IX  
      是否国际化信息自动加载 #xc[)Y,W  
_VlN Z/V  
struts.locale bYtF#Y   
      The default locale for the Struts application MiC&av  
      默认的国际化地区信息 L4NC -  
a-3~HH  
struts.mapper.class g5 E]o)  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class U|zW_dj  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 3t,SXI @  
?d %_o@  
struts.multipart.maxSize 2d._X$fx7  
      The maximize size of a multipart request (file upload) [ACYd/  
      multipart请求信息的最大尺寸(文件上传用) G2Apm`/ y  
te|VKYN%}[  
struts.multipart.parser e9 NHbq  
      The org.apache.struts2.dispatcher.multipart. Cpj_mMtu  
      MultiPartRequest parser implementation for a multipart request (file upload) vmoqsdZ/  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) "%Jx,L\f{  
%S^`/Snv"  
z+ 4R[+[  
struts.multipart.saveDir $*PyzLS  
      The directory to use for storing uploaded files =y':VIVJC  
      设置存储上传文件的目录夹 9$_}E`  
eE&F1|8  
struts.objectFactory {?C7BClB  
      The com.opensymphony.xwork2.ObjectFactory implementation class {e~d^^N5  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Xm*Dh#H  
1kpI?Plki  
struts.objectFactory.spring.autoWire Kz%wMyZ:g  
      Whether Spring should autoWire or not #zXDh3%]a  
      是否自动绑定Spring ^I0SfZ'Y  
{<GsM  
struts.objectFactory.spring.useClassCache 65AOFH  
      Whether Spring should use its class cache or not +z4NxR   
      是否spring应该使用自身的cache EU+sTe>  
v}!,4,]:&  
struts.objectTypeDeterminer dI>oHMC  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class k @ Hu0x  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 .VUZ4e  
#C+0m`  
struts.serve.static.browserCache Rl,B !SF  
If static content served by the Struts filter should set browser caching header properties or not $]Q_x?  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 'g^]ZTxb  
TqlUe@E  
struts.serve.static +@!9&5S A  
      Whether the Struts filter should serve static content or not X)yTx8v4  
      是否struts过滤器应该提供静态内容 lu>>~vy6  
]\jhtC=2  
struts.tag.altSyntax MVdE7P  
      Whether to use the alterative syntax for the tags or not 7DI8r|~  
      是否可以用替代的语法替代tags q)P<lKi  
$/D@=P kc  
struts.ui.templateDir _ pJU~8  
      The directory containing UI templates 7.5G4  
      UI templates的目录夹 C }!$'C|  
ZK13[_@9  
struts.ui.theme Z?GC+hG`  
      The default UI template theme  hP7nt  
      默认的UI template主题 <q!{<(:  
>uQ!B/C!  
struts.url.http.port 7mu%|!  
      The HTTP port used by Struts URLs {_ #   
      设置http端口 N+r~\[N\9  
f6m^pbQFl  
struts.url.https.port cJqPcCq(wn  
      The HTTPS port used by Struts URLs @p!["v&  
      设置https端口 }x%"Oq|2]x  
5X  
struts.url.includeParams eQ*gnV}rE%  
      The default includeParams method to generate Struts URLs 3{:d$- y  
      在url中产生 默认的includeParams wo*/{KFvh  
akNJL\b  
i3kI{8h  
struts.velocity.configfile @ O%m,  
      The Velocity configuration file path xOkf 9k_  
      velocity配置文件路径 E&97;VH  
0^.q5#A2  
struts.velocity.contexts g]3-:&F{c  
      List of Velocity context names :cOwTW?Fj  
      velocity的context列表 H(0d(c1s  
&Zf@vD  
^@6eN]  
struts.velocity.manager.classname QZDGk4GG  
      org.apache.struts2.views.velocity.VelocityManager implementation class }#Vo XilX  
      org.apache.struts2.views.velocity.VelocityManager接口名 "e_ED*  
c*3ilMP\4  
struts.velocity.toolboxlocation OyH:  
      The location of the Velocity toolbox UboOIx5:  
      velocity工具盒的位置 *EotYT  
struts.xslt.nocache  6E  
      Whether or not XSLT templates should not be cached s&c^Wr  
      是否XSLT模版应该被缓存 Jcy`:C\Ay  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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