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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 EY[J;H_b  
 8=j_~&*  
struts.action.extension |kkg1M#  
      The URL extension to use to determine if the request is meant for a Struts action i^&^eg'.5  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 :<`po4/  
O `a4 ")R  
struts.configuration 5U%a$.yr  
      The org.apache.struts2.config.Configuration implementation class 9Zpd=m8dU  
        org.apache.struts2.config.Configuration接口名 F]^ZdJ2  
# ,27,#  
struts.configuration.files ( T2 \   
      A list of configuration files automatically loaded by Struts ,{{Z)"qaH  
      struts自动加载的一个配置文件列表 C(5B/W6  
4$jb-Aw  
struts.configuration.xml.reload "9yQDS:  
      Whether to reload the XML configuration or not hIMD2  
      是否加载xml配置(true,false) [V.#w|n  
f hr QJ  
struts.continuations.package ;TG<$4N  
      The package containing actions that use Rife continuations yX|0 R H  
      含有actions的完整连续的package名称 /FA0(< -}  
KJN{p~Q  
struts.custom.i18n.resources e'1}5Ky  
      Location of additional localization properties files to load Ra^GbT|Z  
      加载附加的国际化属性文件(不包含.properties后缀) nn6&`$(Q~  
Cw&U*H  
struts.custom.properties Tjza3M  
      Location of additional configuration properties files to load 8yn}|Y9Fu  
      加载附加的配置文件的位置 ^jZ4tH3K  
SpiI9)gp  
RS[>7-9  
struts.devMode m8<l2O=m  
      Whether Struts is in development mode or not /l$>W<}@  
      是否为struts开发模式  K na  
JO"-"&>  
struts.dispatcher.parametersWorkaround sc &S0K  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic fr([g?F%D  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) eU.HS78  
q~*>  
struts.enable.DynamicMethodInvocation ;]xJC j  
      Allows one to disable dynamic method invocation from the URL l<=Y.P_2  
        允许动态方法调用 pcjb;&<  
5t~p99#?  
struts.freemarker.manager.classname 'J"m`a8no  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 7>>6c7e  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 dUL3UY3  
DZ~qk+,I  
struts.i18n.encoding V50FX }i  
      The encoding to use for localization messages e|jmOYWG  
      国际化信息内码 V?"SrXN>  
{%Q &CQG_  
struts.i18n.reload ;UG]ckV-  
      Whether the localization messages should automatically be reloaded 0x]W W|se*  
      是否国际化信息自动加载 3,RaM^5dV  
Erd)P  
struts.locale 1dahVc1W  
      The default locale for the Struts application 2[R{IV8e  
      默认的国际化地区信息 i?1g{JW  
}qOj^pkJ  
struts.mapper.class rkz_h  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class \<K@t=/ 6  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 UN6Du\)]d  
]Uee!-dZ  
struts.multipart.maxSize r^|AiYI)  
      The maximize size of a multipart request (file upload) ?go+oS^  
      multipart请求信息的最大尺寸(文件上传用) yDW$v/j.|  
^+20e3 ~Y  
struts.multipart.parser {(MC]]'?  
      The org.apache.struts2.dispatcher.multipart. _.y0 QkwV  
      MultiPartRequest parser implementation for a multipart request (file upload)  ^q=D!g  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) _@Le MNv  
{(,[  
k9pOY]_Y  
struts.multipart.saveDir l.Qv9Ll|b  
      The directory to use for storing uploaded files %d/Pc4gfc  
      设置存储上传文件的目录夹 pk0C x  
V)8d1S  
struts.objectFactory 7$&3(#!N  
      The com.opensymphony.xwork2.ObjectFactory implementation class }^ np  
      com.opensymphony.xwork2.ObjectFactory接口(spring) UBy< vwnU  
PtT=HvP!k  
struts.objectFactory.spring.autoWire W{!GL  
      Whether Spring should autoWire or not Eax^1 |6  
      是否自动绑定Spring * vMNv  
6(uK5eD(!n  
struts.objectFactory.spring.useClassCache UfUboxT  
      Whether Spring should use its class cache or not g-Y2U}&  
      是否spring应该使用自身的cache CZL:&~l1  
5s'oVO*hW  
struts.objectTypeDeterminer {q-<1|xj/J  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class "Wz#<! .r  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 . w_oWmD  
F qW[L>M'  
struts.serve.static.browserCache R|Lr@k{6+r  
If static content served by the Struts filter should set browser caching header properties or not 05cyWg9a  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 - s,M+Q(<  
U3f a *D  
struts.serve.static G$B( AWL  
      Whether the Struts filter should serve static content or not ] %y3*N@AZ  
      是否struts过滤器应该提供静态内容 <s7OY`(8   
XJG "Zr9  
struts.tag.altSyntax B8'e,9   
      Whether to use the alterative syntax for the tags or not C \B&'+uR  
      是否可以用替代的语法替代tags SCZ6:P"$qX  
23AMrDF=N  
struts.ui.templateDir dMnJ)R  
      The directory containing UI templates ?Q ]{P]  
      UI templates的目录夹 Gx]J6Z8  
i]@QxzCSF  
struts.ui.theme D~i m1h;>  
      The default UI template theme {{WA=\N8C  
      默认的UI template主题 EGZ F@#N  
5D32d1A  
struts.url.http.port nCz_gYcIx  
      The HTTP port used by Struts URLs ` 5.PPI\h2  
      设置http端口 UE[5Bw?4X  
qx$-% P  
struts.url.https.port k9ThWo/#u  
      The HTTPS port used by Struts URLs 7eh<>X!TX  
      设置https端口 1,tM  
f"=1_*eH  
struts.url.includeParams s:6pPJL  
      The default includeParams method to generate Struts URLs py9HUyr5eZ  
      在url中产生 默认的includeParams 'ow`ej  
S|{'.XG  
*[-% .=[7  
struts.velocity.configfile >>ncq$  
      The Velocity configuration file path lAxbF  
      velocity配置文件路径 0 s-IW  
r pv`%  
struts.velocity.contexts kXmnLxhS/  
      List of Velocity context names hf/6VlZ  
      velocity的context列表 t_-1sWeA!  
[q/tKdo@  
\Qh{uk[  
struts.velocity.manager.classname  f:_\S  
      org.apache.struts2.views.velocity.VelocityManager implementation class q\P"AlpC!  
      org.apache.struts2.views.velocity.VelocityManager接口名 LG0z|x(  
[84f[`!Ui  
struts.velocity.toolboxlocation ]ZQ3|ZJ?<  
      The location of the Velocity toolbox "QWF&-kAI  
      velocity工具盒的位置 =,/08Cs  
struts.xslt.nocache D{]t50a.  
      Whether or not XSLT templates should not be cached &vf%E@<  
      是否XSLT模版应该被缓存 +wAH?q8f  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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