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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 Qr0JJoHT  
RE"}+D  
struts.action.extension 3\D jV2t  
      The URL extension to use to determine if the request is meant for a Struts action y[r T5ed  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ' {:(4>&  
&I!2gf  
struts.configuration `fc*/D  
      The org.apache.struts2.config.Configuration implementation class oTx#e[8f{  
        org.apache.struts2.config.Configuration接口名 g_n=vO('X  
;WGY)=-gv  
struts.configuration.files eyAg\uuih  
      A list of configuration files automatically loaded by Struts JHO9d:{-  
      struts自动加载的一个配置文件列表 *VRFs=  
DK)qBxc8  
struts.configuration.xml.reload jH:*x$@ =  
      Whether to reload the XML configuration or not **s:H'Mw_  
      是否加载xml配置(true,false) z6{0\#'K  
%0u7pk  
struts.continuations.package {L4^IKI  
      The package containing actions that use Rife continuations slQKkx \Dn  
      含有actions的完整连续的package名称 d1E~H]X4  
/+IR^WG#C}  
struts.custom.i18n.resources r`7`f xe  
      Location of additional localization properties files to load K@>v|JD  
      加载附加的国际化属性文件(不包含.properties后缀) <M\Z}2d  
R jAeN#,?  
struts.custom.properties 5 !NPqka}.  
      Location of additional configuration properties files to load ZcdS?Z2k  
      加载附加的配置文件的位置 uNRGbDMA=  
;w6\r!O,  
ZjI^0D8  
struts.devMode |x kixf4zz  
      Whether Struts is in development mode or not pxY5S}@  
      是否为struts开发模式 [yVU p+  
xHL{3^  
struts.dispatcher.parametersWorkaround bpU^|r^W  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic hQet?*diU  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) nwkhGQ  
mGY 74>/  
struts.enable.DynamicMethodInvocation _@RW7iP>  
      Allows one to disable dynamic method invocation from the URL 6"=e+V@  
        允许动态方法调用 a\MU5%}\  
CRqa[boU*  
struts.freemarker.manager.classname n1;V2k{uV  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class XSD7~X/:  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 U>I#f  
-pjL7/gx  
struts.i18n.encoding O42An$}  
      The encoding to use for localization messages \NSwoP  
      国际化信息内码 c9ZoO;  
)1i)I?m  
struts.i18n.reload zf S<X  
      Whether the localization messages should automatically be reloaded ! TRiFD  
      是否国际化信息自动加载 gT+/CVj R  
gM= ~dBz  
struts.locale ahf$#UQLb  
      The default locale for the Struts application 9GGBJTk-  
      默认的国际化地区信息 :g\qj? o  
r%a$u%)oD  
struts.mapper.class oC?b]tzj  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Df4n9m}E  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 {&4qknPd%  
onmO>q*  
struts.multipart.maxSize ilHj%h*z  
      The maximize size of a multipart request (file upload) o^NQ]BdH8  
      multipart请求信息的最大尺寸(文件上传用) u*U?VZ5  
REsThB  
struts.multipart.parser D0-e,)G}V,  
      The org.apache.struts2.dispatcher.multipart. dG|\geD  
      MultiPartRequest parser implementation for a multipart request (file upload) U?rfE(!  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) \:#b9t{B-  
A} "*`y  
{B}0LJIpL  
struts.multipart.saveDir !6}Cs3.  
      The directory to use for storing uploaded files K0#tg^z5d  
      设置存储上传文件的目录夹 vSyN_AB?$  
kOjq LA  
struts.objectFactory !XicX9n  
      The com.opensymphony.xwork2.ObjectFactory implementation class kP6r=HH@  
      com.opensymphony.xwork2.ObjectFactory接口(spring) jc?Hip'  
JxWHrsh[  
struts.objectFactory.spring.autoWire uu/M XID  
      Whether Spring should autoWire or not 0O:TKgb&C.  
      是否自动绑定Spring FStfGN  
V:+}]"yJ,  
struts.objectFactory.spring.useClassCache 0$ (}\hMLt  
      Whether Spring should use its class cache or not xM*v!J,  
      是否spring应该使用自身的cache &O[o;(}mFI  
y^XwJX-f  
struts.objectTypeDeterminer RHBEC@d[}  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class hN}X11  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 *rbH|o8  
emaNmpg  
struts.serve.static.browserCache >i.+v[)#  
If static content served by the Struts filter should set browser caching header properties or not QO,y/@Ph  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 "K@os<  
`?$R_uFh:  
struts.serve.static }FK6o 6  
      Whether the Struts filter should serve static content or not N8vWwN[3  
      是否struts过滤器应该提供静态内容 " pH+YqJ$  
3Q#VD)  
struts.tag.altSyntax {L+?n*;CA  
      Whether to use the alterative syntax for the tags or not |fA[s7)  
      是否可以用替代的语法替代tags g &za/F  
SUx0!_f*R  
struts.ui.templateDir q4Z \y  
      The directory containing UI templates /yOd]N;$  
      UI templates的目录夹 AiyjrEa%  
 qV}zV\Nz  
struts.ui.theme aB Yhk|Ei  
      The default UI template theme 7!%cKZCY  
      默认的UI template主题 "au"\}   
4j | vzyc  
struts.url.http.port @#V{@@3$  
      The HTTP port used by Struts URLs wb{y]~&6K  
      设置http端口 "[8](3\v  
*yf+5q4t  
struts.url.https.port \<P W_'6  
      The HTTPS port used by Struts URLs V`%m~#Me  
      设置https端口 D( _a Xy  
|%tR#!&[:g  
struts.url.includeParams @wg*~"d  
      The default includeParams method to generate Struts URLs ;6]+/e7O  
      在url中产生 默认的includeParams qvt~wJf<  
prwyP  
9xSAWKr,l  
struts.velocity.configfile >Z3}WMgBN  
      The Velocity configuration file path eg}|%GG  
      velocity配置文件路径 hA"N&v~  
o`#;[  
struts.velocity.contexts T&!>lqU!J  
      List of Velocity context names L*5&hPU  
      velocity的context列表 rdC(+2+Ay  
{ ~Cqb7  
q/Gy&8 K  
struts.velocity.manager.classname /,;9hx  
      org.apache.struts2.views.velocity.VelocityManager implementation class 5!5P\o  
      org.apache.struts2.views.velocity.VelocityManager接口名 Bb1dH/8  
lP@9%L  
struts.velocity.toolboxlocation >N*QK6"=|  
      The location of the Velocity toolbox ZSbD4 |_  
      velocity工具盒的位置 q<7Nz] Td  
struts.xslt.nocache 0h; -Yg  
      Whether or not XSLT templates should not be cached ^+P]_< 43  
      是否XSLT模版应该被缓存 jeJGxfii  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
10+5=?,请输入中文答案:十五