BookCaseQueryModify.java~11~
上传用户:toby828
上传日期:2015-06-26
资源大小:8558k
文件大小:1k
源码类别:
Jsp/Servlet
开发平台:
Java
- package com.action;
- import org.apache.struts.action.ActionMapping;
- import org.apache.struts.action.ActionForm;
- import javax.servlet.http.HttpServletRequest;
- import javax.servlet.http.HttpServletResponse;
- import org.apache.struts.action.ActionForward;
- import com.actionForm.BookCaseForm;
- import org.apache.struts.action.Action;
- import com.dao.BookCaseDAO;
- public class BookCaseQueryModify extends Action {
- private BookCaseDAO bookCaseDAO=new BookCaseDAO();
- public ActionForward perform(ActionMapping actionMapping,
- ActionForm actionForm,
- HttpServletRequest servletRequest,
- HttpServletResponse servletResponse) {
- BookCaseForm bookCaseForm = (BookCaseForm) actionForm;
- bookCaseForm.setId();
- servletRequest.setAttribute("bookCaseQueryif",bookCaseDAO.QueryDM(bookCaseForm));
- return actionMapping.findForward("bookCaseQueryModify");
- }
- }