请大家看一下,在struts-config.xml中的<plug-in>是做什么的?谢谢

来源:百度知道 编辑:UC知道 时间:2024/05/22 03:18:32
<plug-in className="org.springframework.web.struts.ContextLoaderPlugIn">
<set-property property="contextConfigLocation" value="/WEB-INF/applicationContext.xml , /WEB-INF/springContext/*.xml"/>
</plug-in>
这是什么意思?
请朋友给看看,谢谢!

<plug-in>通常用于添加插件至Struts控制器中。Vallidator框架就需要<plug-in>才能使用。
spring有三种启动方式,ContextLoaderServlet,ContextLoaderListener和ContextLoaderPlugIn.