天理何在 strtus-config.xml不认!!!!!!!!!!!!
在strtus-config.xml里不加插件,提示:
java.lang.IllegalStateException: Could not find ContextLoaderPlugIn's WebApplicationContext as ServletContext attribute [org.springframework.web.struts.ContextLoaderPlugIn.CONTEXT.]: Did you register [org.springframework.web.struts.ContextLoaderPlugIn]?
加了
<plug-in className="org.springframework.web.struts.ContextLoaderPlugIn">
<set-property property="contextConfigLocation" value="/WEB-INF/springconfig.xml" />
</plug-in>
就提示:
HTTP Status 404 - Servlet action is not available
whyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy