摘要:
1、首先在struts-config.xml中加入下面代码:注:为 Struts 的 ActionServlet 装载 Spring 应用程序环境。就像添加任何其他插件一样,简单地向您的 struts-config.xml 文件添加该插件。 2、对Action进行配置注:,Struts 在运行期加载的实际上是DelegatingActionProxy , 而DelegatingActionProx... 阅读全文
摘要:
1、首先配置web.xml文件,用来处理页面请求。 hello org.springframework.web.servlet.DispatcherServlet contextConfigLocation /WEB-INF/mvc-config.xml 1 hello *.do2、配置... 阅读全文