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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 X5UcemO  
PhW< )B]  
struts.action.extension ?rID fEvV  
      The URL extension to use to determine if the request is meant for a Struts action H7n5k,  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 eKi/Mt  
yG|^-O}L  
struts.configuration 5!u.w  
      The org.apache.struts2.config.Configuration implementation class w^Qb9vTa8  
        org.apache.struts2.config.Configuration接口名 ;cd{+0  
Yn4c6K  
struts.configuration.files < .&t'W  
      A list of configuration files automatically loaded by Struts [` ~YPUR*  
      struts自动加载的一个配置文件列表 sG`||Kb;n  
6wC|/J^  
struts.configuration.xml.reload u}Vc2a,WV  
      Whether to reload the XML configuration or not s8Kf$E^?e.  
      是否加载xml配置(true,false) l G12Su/  
7|LJwXQ-  
struts.continuations.package qa wb9Iud0  
      The package containing actions that use Rife continuations T- ID{i  
      含有actions的完整连续的package名称 ^_ <jg0V  
#mwV66'H  
struts.custom.i18n.resources R2WEPMH%  
      Location of additional localization properties files to load T.O^40y  
      加载附加的国际化属性文件(不包含.properties后缀) ',j'Hf  
wr{03mQHxp  
struts.custom.properties f>\OT   
      Location of additional configuration properties files to load w='1uV<6  
      加载附加的配置文件的位置 ktLXL;~X  
LW6&^S?4{  
=S/$h}Vi  
struts.devMode maQE Bi,  
      Whether Struts is in development mode or not >yFEUD:  
      是否为struts开发模式 6z v+Av:  
H|_^T.n?E  
struts.dispatcher.parametersWorkaround N|hNh$J[  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic k%-_z}:3V  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) TJFxo? gC"  
_h>S7-X  
struts.enable.DynamicMethodInvocation Rr ! PU  
      Allows one to disable dynamic method invocation from the URL ofbNg_K>  
        允许动态方法调用 @/h_v#W  
%}jwuNGA  
struts.freemarker.manager.classname 9k8ftxB^  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class -BUxQ8/,  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 x)0g31 4 9  
9t@^P^}=\m  
struts.i18n.encoding ?h UC#{  
      The encoding to use for localization messages 4GWt.+{J$  
      国际化信息内码 YVt#( jl  
~01 o  
struts.i18n.reload T P'  
      Whether the localization messages should automatically be reloaded 9n{tbabJ  
      是否国际化信息自动加载 02E-|p;  
"&?F 6Pi  
struts.locale `$oGgz6ZT  
      The default locale for the Struts application l'=H,8LfA  
      默认的国际化地区信息 , f9V`Pz)  
h- .V[]<  
struts.mapper.class 3qOq:ZkQ  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class (7BG~T  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 qS<a5`EA  
m qgA  
struts.multipart.maxSize 0VC8'6S_k  
      The maximize size of a multipart request (file upload) owL>w  
      multipart请求信息的最大尺寸(文件上传用) ry9%Y3  
xLX<. z!r  
struts.multipart.parser 58\rl G  
      The org.apache.struts2.dispatcher.multipart. v#*9rNEj0  
      MultiPartRequest parser implementation for a multipart request (file upload) WNSf$D{p  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) gQaBQq9  
9EzXf+f  
vmdu9"H  
struts.multipart.saveDir h(]aP<49L  
      The directory to use for storing uploaded files "?EoYF_  
      设置存储上传文件的目录夹 i? 5jl&30  
xCwd*lsM  
struts.objectFactory +F3@-A  
      The com.opensymphony.xwork2.ObjectFactory implementation class (t'hWS  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ,jJ&x7ra8  
?"f\"N  
struts.objectFactory.spring.autoWire vQB;a?)o  
      Whether Spring should autoWire or not 2RXU75VY  
      是否自动绑定Spring =H&{*Ja  
 O\y #|=d  
struts.objectFactory.spring.useClassCache X`bN/sI  
      Whether Spring should use its class cache or not 1A\Jh3;Q  
      是否spring应该使用自身的cache g a|RW0  
am,UUJ+h>  
struts.objectTypeDeterminer rFJ(t7\9h  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 7U68|\fI!  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Nd!0\ "AE  
4_qd5K+n"  
struts.serve.static.browserCache ; (I(TG  
If static content served by the Struts filter should set browser caching header properties or not Ut:>'TwG  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ut z.  
,'[L6=#  
struts.serve.static |uo<<-\jTO  
      Whether the Struts filter should serve static content or not )]x/MC:9r  
      是否struts过滤器应该提供静态内容 Xv ;} !z  
sYnf #'  
struts.tag.altSyntax XnC`JO+7M  
      Whether to use the alterative syntax for the tags or not 2eErvfC[  
      是否可以用替代的语法替代tags 0'u2xe  
?K, xxH  
struts.ui.templateDir pvCn+y/U;  
      The directory containing UI templates ! bbVa/  
      UI templates的目录夹 xo{3r\u?}  
USF&;M3  
struts.ui.theme yZ?|u57  
      The default UI template theme I4'mU$)U  
      默认的UI template主题 N8a+X|3]0  
gP=(2EVE  
struts.url.http.port mFCDwh]  
      The HTTP port used by Struts URLs db$wKvO1  
      设置http端口 heQ<%NIA"  
{p J{UJKv?  
struts.url.https.port ioxs x>e<  
      The HTTPS port used by Struts URLs gBM6{48GF  
      设置https端口 dXr=&@ 1  
r ;:5P%:  
struts.url.includeParams !DsKa6Zj  
      The default includeParams method to generate Struts URLs =xwA'D9]  
      在url中产生 默认的includeParams ^M?O  
/ J 3   
s}Y_og_c  
struts.velocity.configfile %|mRib|<C  
      The Velocity configuration file path hE.NW  
      velocity配置文件路径 i'Vrx(y3  
lGHU{7j\  
struts.velocity.contexts u&MlWKCi  
      List of Velocity context names Fy1@B(V%  
      velocity的context列表 (!kd9uV  
/G)Y~1ASA%  
%qG nvQ  
struts.velocity.manager.classname .b'o}DLa  
      org.apache.struts2.views.velocity.VelocityManager implementation class 5!WQ  
      org.apache.struts2.views.velocity.VelocityManager接口名 Y r3h=XY  
v:otR%yt  
struts.velocity.toolboxlocation p.{9OrH(4  
      The location of the Velocity toolbox r&F(VF0 6  
      velocity工具盒的位置 W 2/`O?  
struts.xslt.nocache <>3}<i<[&  
      Whether or not XSLT templates should not be cached eu!B ,  
      是否XSLT模版应该被缓存 Fkgnc{NI  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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