我不是神仙,我只是弄懂了一些皮毛,还老犯错.我现在做的时候,就是把struts+spring整合起来都有错,我都郁闷了.我就是简单的在struts-config文件里加上这个 <plug-in className="org.springframework.web.struts.ContextLoaderPlugIn"> <set-property property="contextConfigLocation" value="/WEB-INF/beans.xml" /> </plug-in>运行时, 只要我要进入action就会出现这样的错误 type Status reportmessage Servlet action is not availabledescription The requested resource (Servlet action is not available) is not available.闷了我一下午了,谁要是能帮我解决了, 谁就是我心中的神^_^
<plug-in className="org.springframework.web.struts.ContextLoaderPlugIn">
<set-property property="contextConfigLocation" value="/WEB-INF/beans.xml" />
</plug-in>运行时, 只要我要进入action就会出现这样的错误
type Status reportmessage Servlet action is not availabledescription The requested resource (Servlet action is not available) is not available.闷了我一下午了,谁要是能帮我解决了, 谁就是我心中的神^_^
还是弄个完整的例子看看,比较不难,但是学不到真髓