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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 S~B{G T\M  
bQHJ}aCi  
struts.action.extension EQX?Zs?C  
      The URL extension to use to determine if the request is meant for a Struts action k)agbx  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 w}U'>fj  
< Q6  
struts.configuration _xM3c&VeG  
      The org.apache.struts2.config.Configuration implementation class j|VX6U   
        org.apache.struts2.config.Configuration接口名 ue -a/a  
5:T}C@  
struts.configuration.files 0NXaAf:2Z  
      A list of configuration files automatically loaded by Struts 54Vb[;`Kkb  
      struts自动加载的一个配置文件列表 kQ|phtbI  
)Mh5q&ow  
struts.configuration.xml.reload E0eZal],  
      Whether to reload the XML configuration or not eY_BECJ+OO  
      是否加载xml配置(true,false) 7=HpEc  
Fu65VLKh  
struts.continuations.package ?}No'E1!I  
      The package containing actions that use Rife continuations (]$&.gE.F  
      含有actions的完整连续的package名称 `eKFs0M.  
~/!jKH7`j  
struts.custom.i18n.resources k"+/DK,:  
      Location of additional localization properties files to load uf`/-jY  
      加载附加的国际化属性文件(不包含.properties后缀) JQSczE3  
zS `>65}e  
struts.custom.properties FB O_B  
      Location of additional configuration properties files to load d V3R)  
      加载附加的配置文件的位置 z=TuUl@  
>| hqt8lY  
T/q*k)IoR  
struts.devMode Kk>va->R  
      Whether Struts is in development mode or not >t4<2|!(M  
      是否为struts开发模式 @Z89cTO  
:Y4G^i  
struts.dispatcher.parametersWorkaround L]=LY  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic B";Dj~y  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) aK8X,1g%)  
ki]i[cdk  
struts.enable.DynamicMethodInvocation .FvIT] k-  
      Allows one to disable dynamic method invocation from the URL #3YYE5cB  
        允许动态方法调用 !{XVaQ?x  
hho\e 8  
struts.freemarker.manager.classname $~T|v7Y%  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class )NlxW5  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 K?=g IC:  
vcSb:('  
struts.i18n.encoding LHq*E`  
      The encoding to use for localization messages cFoeyI#v  
      国际化信息内码 _p%@x:\  
tS[@?qP  
struts.i18n.reload e_llW(*l8^  
      Whether the localization messages should automatically be reloaded V.w!]{xm  
      是否国际化信息自动加载 67wq8|  
jo"zd b  
struts.locale k'K 1zUBj  
      The default locale for the Struts application )"s(;kU!  
      默认的国际化地区信息 cN| gaL  
(E \lLlN  
struts.mapper.class @&2# kO~=  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class y&2O)z!B  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 CjU?3Ag  
N)X51;+  
struts.multipart.maxSize eX o@3/  
      The maximize size of a multipart request (file upload) 9j$J}=y  
      multipart请求信息的最大尺寸(文件上传用) m"~),QwF9  
K[9{]$(Z  
struts.multipart.parser 9S{0vc/2@  
      The org.apache.struts2.dispatcher.multipart. g #[,4o;  
      MultiPartRequest parser implementation for a multipart request (file upload) 3Oe\l[?$;  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) KOD%>+vG$  
<nF1f(ky  
X1GM\*BE  
struts.multipart.saveDir j.UO>1{7  
      The directory to use for storing uploaded files &(A'uX.>pr  
      设置存储上传文件的目录夹 ,kE"M1W  
$e,'<Jl  
struts.objectFactory 4|KtsAVp{  
      The com.opensymphony.xwork2.ObjectFactory implementation class 2$?j'i!  
      com.opensymphony.xwork2.ObjectFactory接口(spring) G":u::hR  
.q9i10C  
struts.objectFactory.spring.autoWire \>  
      Whether Spring should autoWire or not 79>_aD9  
      是否自动绑定Spring m"mU:-jk`  
YMn_9s7<  
struts.objectFactory.spring.useClassCache Xldz& &@  
      Whether Spring should use its class cache or not (J`EC  
      是否spring应该使用自身的cache #l_hiD`;r  
f=nVK4DuZ  
struts.objectTypeDeterminer q@Sj$  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class q%k _C0  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 HH'5kE0;d  
_u8d`7$*%  
struts.serve.static.browserCache ,98`tB0  
If static content served by the Struts filter should set browser caching header properties or not &BQ%df<y\  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 }B2qtb3  
jW_FaPW(p  
struts.serve.static fnudu0k  
      Whether the Struts filter should serve static content or not ftbOvG/ I  
      是否struts过滤器应该提供静态内容 uzWz+atH  
7|q _JdKoU  
struts.tag.altSyntax F[==vte|  
      Whether to use the alterative syntax for the tags or not Ixv/xI  
      是否可以用替代的语法替代tags IT\ x0b cv  
F(;C \[Ep  
struts.ui.templateDir 1IV R4:a  
      The directory containing UI templates D^\2a;[AxA  
      UI templates的目录夹 'Mm=<Bh  
:*s+X$x,<  
struts.ui.theme $#d.@JWi  
      The default UI template theme BH`GUIk  
      默认的UI template主题 \x+"1  
m6M:l"u  
struts.url.http.port E>O1dPZcM  
      The HTTP port used by Struts URLs wT-@v,$  
      设置http端口 =hB0p^a  
Shb"Jc_i  
struts.url.https.port [49Ae2W`  
      The HTTPS port used by Struts URLs 9U~sRj=D  
      设置https端口 vP{;'R  
2K$#U|Qi  
struts.url.includeParams 1PjqXgN5p  
      The default includeParams method to generate Struts URLs :Y2J7p[+  
      在url中产生 默认的includeParams '7TT4~F  
X"3Za[9j  
3eP7vy  
struts.velocity.configfile "4e{Cq  
      The Velocity configuration file path mL[Y{t#N  
      velocity配置文件路径 .>{I S4  
 F5FzT^  
struts.velocity.contexts PV,AN   
      List of Velocity context names /f) #CR0$  
      velocity的context列表 $yg=tWk  
q X>\*@  
*;y n_zg  
struts.velocity.manager.classname Y+'522er  
      org.apache.struts2.views.velocity.VelocityManager implementation class Wg ?P"  
      org.apache.struts2.views.velocity.VelocityManager接口名 >*cg K}!@  
B!zqvShF  
struts.velocity.toolboxlocation UAq%Y8KA  
      The location of the Velocity toolbox 2XSHZ|;  
      velocity工具盒的位置 \NL+}cL/  
struts.xslt.nocache Kv(Y }  
      Whether or not XSLT templates should not be cached mm3zQ!2j.  
      是否XSLT模版应该被缓存 }Ox2olUX  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八