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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 7)lEZJK&T  
g_Z tDxz  
struts.action.extension l[/`kK  
      The URL extension to use to determine if the request is meant for a Struts action jW'YQrj{<Y  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 u.GnXuax  
UHZuH?|@  
struts.configuration w 9dkJo  
      The org.apache.struts2.config.Configuration implementation class v-{g  
        org.apache.struts2.config.Configuration接口名 ` =>}*GS  
[8iY0m_Qe  
struts.configuration.files 3kn-tM  
      A list of configuration files automatically loaded by Struts %j7b0pb  
      struts自动加载的一个配置文件列表 za_b jE  
G!q[NRu  
struts.configuration.xml.reload 'C[tPP  
      Whether to reload the XML configuration or not m{/7)2.  
      是否加载xml配置(true,false) yKc-:IBb{u  
y}?|+/ dN  
struts.continuations.package T`&zQQ6F'  
      The package containing actions that use Rife continuations %O"8|ZG9{  
      含有actions的完整连续的package名称 5C Dk5B_  
VfoWPyWD#  
struts.custom.i18n.resources FZHA19Kb  
      Location of additional localization properties files to load IO%kXF.[  
      加载附加的国际化属性文件(不包含.properties后缀) jeC=s~  
0fsVbC  
struts.custom.properties @5>#<LV=E#  
      Location of additional configuration properties files to load nKx)R^]k  
      加载附加的配置文件的位置 GKBoSSnV&  
8dczC  
M8/a laoT  
struts.devMode 7r:h_r-  
      Whether Struts is in development mode or not 6r)P&J  
      是否为struts开发模式 7L!JP:v   
~>u .d  
struts.dispatcher.parametersWorkaround /DQYlNa  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic kKX' Y+  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) zxyl+tU &  
=X$ieXq|  
struts.enable.DynamicMethodInvocation ^b8~X [1J_  
      Allows one to disable dynamic method invocation from the URL y* +y&  
        允许动态方法调用 xcB\Y:   
')m!48  
struts.freemarker.manager.classname hG1:E:}  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class qN!oN*  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 P'W} ]mCD  
1QoW/X'>.  
struts.i18n.encoding 1dH|/9  
      The encoding to use for localization messages y'R}  
      国际化信息内码 (@?mm  
dOhSqx56  
struts.i18n.reload F? #3  
      Whether the localization messages should automatically be reloaded 'a~@q~!  
      是否国际化信息自动加载 xT HD_?d  
f}:C~L!  
struts.locale 2b"*~O;  
      The default locale for the Struts application F y+NJSG  
      默认的国际化地区信息 8U{D)KgS  
GP} ;~  
struts.mapper.class R/hf"E1  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 1Bh"'9-!JT  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 (,|,j(=]  
M xE]EJZ  
struts.multipart.maxSize @v-^j  
      The maximize size of a multipart request (file upload) &YhAB\Rw  
      multipart请求信息的最大尺寸(文件上传用) {:X'9NEE  
]J7qsMw  
struts.multipart.parser e(c\U}&  
      The org.apache.struts2.dispatcher.multipart. "zEl2Xn28_  
      MultiPartRequest parser implementation for a multipart request (file upload) Xoj"rR9|  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) RY-iFydPc  
G~9m,l+  
-cgO]q+Oq  
struts.multipart.saveDir k/K)nH@)  
      The directory to use for storing uploaded files W}(A8g#6  
      设置存储上传文件的目录夹 [txOh!sxD  
THrLX;I  
struts.objectFactory wh:;G`6S  
      The com.opensymphony.xwork2.ObjectFactory implementation class E|O&bUMh  
      com.opensymphony.xwork2.ObjectFactory接口(spring) `PWKA;W$0  
-^p{J TB+  
struts.objectFactory.spring.autoWire wkg4I.  
      Whether Spring should autoWire or not z/7q#~J,  
      是否自动绑定Spring v+ $3  
bWFa{W5!  
struts.objectFactory.spring.useClassCache qCs/sW  
      Whether Spring should use its class cache or not sY ]J!"  
      是否spring应该使用自身的cache (,Y[2_Zv  
66=[6U9 *  
struts.objectTypeDeterminer ZrN(M p  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Yh<F-WOo2  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 [$y(>] ~.  
G]lGoa}]`u  
struts.serve.static.browserCache LuS@Kf8N+  
If static content served by the Struts filter should set browser caching header properties or not k+QGvgP[4@  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 N[{rsUBd  
k!c7eP"%8^  
struts.serve.static ZFZ'&"+  
      Whether the Struts filter should serve static content or not Xaz "!  
      是否struts过滤器应该提供静态内容 4.9qB  
|<W$rzM  
struts.tag.altSyntax mWviWHK  
      Whether to use the alterative syntax for the tags or not J0sD?V|{1~  
      是否可以用替代的语法替代tags E$"NOR  
ing'' _  
struts.ui.templateDir (4H\ho8+mp  
      The directory containing UI templates 3vrVX<_  
      UI templates的目录夹 d`sZ"8}j  
h,LSqjf "  
struts.ui.theme i?T-6{3I  
      The default UI template theme J( 1Tl  
      默认的UI template主题 w2B)$u  
C:E f6ZW  
struts.url.http.port `>"#d ?,  
      The HTTP port used by Struts URLs M5bE5C  
      设置http端口 8h] TI_  
_c>iux;  
struts.url.https.port 1}VaBsEV  
      The HTTPS port used by Struts URLs /k.0gYD  
      设置https端口 yi$CkG}  
N{Sp-J>  
struts.url.includeParams 86#l$QaK{  
      The default includeParams method to generate Struts URLs )fJ"Hq  
      在url中产生 默认的includeParams 'm<Lx _i  
TXImmkC  
OZ`cE5"i  
struts.velocity.configfile xe@e#9N$  
      The Velocity configuration file path ZU 3Psj  
      velocity配置文件路径 CE"/&I  
QE]'Dc%  
struts.velocity.contexts @a8lF$<  
      List of Velocity context names L;V 8c  
      velocity的context列表 b0~r/M;J  
>LBA0ynh {  
:1+Aj (  
struts.velocity.manager.classname ]B/> =t"E  
      org.apache.struts2.views.velocity.VelocityManager implementation class # ~<]z  
      org.apache.struts2.views.velocity.VelocityManager接口名 6A"$9sj6  
)^:H{1'  
struts.velocity.toolboxlocation /pMOinuO  
      The location of the Velocity toolbox u`|%qRt  
      velocity工具盒的位置 ^Iw$ (  
struts.xslt.nocache 3?o4  
      Whether or not XSLT templates should not be cached _=g&^_ #t  
      是否XSLT模版应该被缓存 qO{z{@jo55  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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