![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
SSH 框架技术
文章平均质量分 75
小步快跑
stgwsteer affgadfsdfsdfsdf
展开
-
DispachAction的编写流程:
DispachAction的编写流程: 1 编写处理类时,继承DispachAction,不覆盖execute方法,提供多个自定义的处理方法 。方法签名必须和execute一样 public ActionForward findAll(ActionMapping mapping, ActionForm form,原创 2010-04-15 21:17:00 · 493 阅读 · 0 评论 -
LookupDispachAction:
LookupDispachAction: 用于一个form表单具有多个提交按钮 index.jsp--->findAll.do--->showAll.jsp--->delete.do--->shoAll.jsp 实现流程: 1 String buttonName = req.getParameter("bu");2 在资源文件中根据原创 2010-04-17 20:17:00 · 362 阅读 · 0 评论 -
MappingDispachAction的编写流程
MappingDispachAction的编写流程: 1 编写处理类时,继承MappingDispachAction,不覆盖execute方法,提供多个自定义的处理方法 。方法签名必须和execute一样 public ActionForward findAll(ActionMapping mapping, ActionForm form,原创 2010-04-15 21:23:00 · 350 阅读 · 0 评论 -
spring整合Struts的三种方式,及优缺点
2010-04-04前提:必须首先在struts框架中注册Spring在struts-config.xml中的添加一个spring的插件 value="spring的xml文件的路径" />三种实现方式:****1 Action===>org.springframework.web.struts.ActionSupport同时覆盖ActionSupport的execute方法获取原创 2010-04-04 17:59:00 · 965 阅读 · 0 评论 -
spring整合hibernate的两种方式
spring整合hibernate org.springframework.orm.hibernate3.HibernarteTemplate模板类,将hibernate相关的底层操作代码全部封装起来1 需要使用到的API:hibernate2: org.springframework.orm.hibernate.*hibernate3: org.springframework.orm.h原创 2010-04-04 18:03:00 · 719 阅读 · 0 评论