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