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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 Rv$[)`&T  
2(u,SQ  
struts.action.extension G IT>L  
      The URL extension to use to determine if the request is meant for a Struts action Y&d00  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 <UV1!2nv*  
E[@ u 3i8  
struts.configuration $RIecv<e_  
      The org.apache.struts2.config.Configuration implementation class <SgM@0m  
        org.apache.struts2.config.Configuration接口名 `_`QxM  
VC\S'z  
struts.configuration.files \n8] M\<  
      A list of configuration files automatically loaded by Struts f78An 8  
      struts自动加载的一个配置文件列表 >0p h9$  
Mn2QZp4  
struts.configuration.xml.reload .!$*:4ok  
      Whether to reload the XML configuration or not Y2ZT.l  
      是否加载xml配置(true,false) F`Q[6"<a  
1 u| wMO  
struts.continuations.package r? NznNVU  
      The package containing actions that use Rife continuations =|3ek  
      含有actions的完整连续的package名称 #\.,?A}9  
(Pf+0,2  
struts.custom.i18n.resources aJ-K?xQ  
      Location of additional localization properties files to load A: 5x|  
      加载附加的国际化属性文件(不包含.properties后缀) .TND  a&  
K]s[5  
struts.custom.properties im9G,e  
      Location of additional configuration properties files to load JEahGzO  
      加载附加的配置文件的位置 &,c``z  
ZUVA EH%  
z(_Ss@ $  
struts.devMode vY  }A  
      Whether Struts is in development mode or not TZ(cu>  
      是否为struts开发模式 K1r#8Q!t  
m#PY,y  
struts.dispatcher.parametersWorkaround 9`I _Et  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic +*ZO&yJQ^<  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 6y+Kjd/D  
-@yh> 8v  
struts.enable.DynamicMethodInvocation @SJL\{_  
      Allows one to disable dynamic method invocation from the URL tiB_a}5IB  
        允许动态方法调用 6r"eN%m  
wkA+j9.  
struts.freemarker.manager.classname rz wF~-m +  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Oiz ,w7LRh  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 Ljxz.2LGr  
B_nVP  
struts.i18n.encoding WQ[_hg|k  
      The encoding to use for localization messages P7nc7a  
      国际化信息内码 h{HF8>u[  
=(NB%}  
struts.i18n.reload -+ SF  
      Whether the localization messages should automatically be reloaded 4wa`<H&S5  
      是否国际化信息自动加载 QDs^Ije  
Z:,U]Z(  
struts.locale 5p<ItU$pnL  
      The default locale for the Struts application qq) rd  
      默认的国际化地区信息 hAYTj0GZ  
 x }\64  
struts.mapper.class k7?N ?7w  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 'Jt]7;04p  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ^?cz,N~  
lE;Ewg  
struts.multipart.maxSize #!aN{nK0  
      The maximize size of a multipart request (file upload) uD1e!oU  
      multipart请求信息的最大尺寸(文件上传用) D7lK30  
4]G?G]lS>  
struts.multipart.parser x(hE3S#+  
      The org.apache.struts2.dispatcher.multipart. YQ+tDZY8`  
      MultiPartRequest parser implementation for a multipart request (file upload) #E? (vA1  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) z.$4!$q  
,k{#S?:b  
(i34sqV$m  
struts.multipart.saveDir Z*y`R XE  
      The directory to use for storing uploaded files d F9!G;V  
      设置存储上传文件的目录夹 CdasP9"1  
P<l&0dPO8  
struts.objectFactory t]y D-3'l&  
      The com.opensymphony.xwork2.ObjectFactory implementation class TD1 [  
      com.opensymphony.xwork2.ObjectFactory接口(spring) i5Zk_-\#H  
C~nzH,5  
struts.objectFactory.spring.autoWire "x=f=;  
      Whether Spring should autoWire or not !/}O>v~o  
      是否自动绑定Spring =Z P%mW&;}  
?o oe'V@  
struts.objectFactory.spring.useClassCache wfU7G[  
      Whether Spring should use its class cache or not eqP&8^HP  
      是否spring应该使用自身的cache .z)%)PVV  
w[9|cgCY  
struts.objectTypeDeterminer Bg&i63XL$$  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class /2UH=Q!x4E  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 :*ing  
0y 7"SiFY  
struts.serve.static.browserCache -BRc8 /  
If static content served by the Struts filter should set browser caching header properties or not bSfpbo4(  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 sm0xLZ  
5b!vgm#])  
struts.serve.static ;i Fz?d3;  
      Whether the Struts filter should serve static content or not uJFdbBDSh  
      是否struts过滤器应该提供静态内容 fBRo_CU8!  
4]h =yc R  
struts.tag.altSyntax biSz?DJ>  
      Whether to use the alterative syntax for the tags or not MaRi+3F  
      是否可以用替代的语法替代tags zo+nq%=  
~%^ tB  
struts.ui.templateDir H<v'^*(  
      The directory containing UI templates rqdE6y+^  
      UI templates的目录夹 kSR\RuY*  
8Eakif0CO  
struts.ui.theme IhA5Wt0j  
      The default UI template theme 12;8o<~  
      默认的UI template主题 2_n7=&  
4SlADvGl  
struts.url.http.port :YXX8|>  
      The HTTP port used by Struts URLs AG!w4Ky`  
      设置http端口 POdUV  
}\HN&@  
struts.url.https.port * mOo@+89  
      The HTTPS port used by Struts URLs SnE(o)Q  
      设置https端口 aa>xIW,u  
>#hO).`C  
struts.url.includeParams FN\E*@>X=  
      The default includeParams method to generate Struts URLs CjlKMbnBH  
      在url中产生 默认的includeParams h3bff#<K  
cW i}V  
t?}zdI(4  
struts.velocity.configfile Min ^>  
      The Velocity configuration file path ebT:/wu,2  
      velocity配置文件路径 =x<ge_Y  
|K.mP4CKY  
struts.velocity.contexts Qa.<K{m#?  
      List of Velocity context names EQf[,  
      velocity的context列表 (iL|Sq&}b  
[x9KVd ^d  
1+9W+$=h2  
struts.velocity.manager.classname POvP]G9'"  
      org.apache.struts2.views.velocity.VelocityManager implementation class ?Lyxw]  
      org.apache.struts2.views.velocity.VelocityManager接口名 {B[=?6tQ  
gW-V=LV (  
struts.velocity.toolboxlocation ft$RSb#  
      The location of the Velocity toolbox Ag&0wN+jTM  
      velocity工具盒的位置 t^6dzrF  
struts.xslt.nocache =&,]Z6{ >  
      Whether or not XSLT templates should not be cached +pR[U4$  
      是否XSLT模版应该被缓存 i%/Jp[e\W>  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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