PrinfLxrxxSelectContent.java
上传用户:quasar007
上传日期:2022-08-11
资源大小:4067k
文件大小:1k
- package com.webtier.queryInformation;
- 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.domain.LxrxxForm;
- import org.apache.struts.action.Action;
- import com.service.LxrxxFacade;
- import com.service.LxrxxFacadeImpl;
- import java.util.List;
- //打印联系人信息
- public class PrinfLxrxxSelectContent
- extends Action {
- private LxrxxFacade facade = null;
- public PrinfLxrxxSelectContent() {
- this.facade = new LxrxxFacadeImpl();
- }
- public ActionForward perform(ActionMapping actionMapping,
- ActionForm actionForm,
- HttpServletRequest servletRequest,
- HttpServletResponse servletResponse) {
- LxrxxForm lxrxxForm = (LxrxxForm) actionForm;
- lxrxxForm.setId(Integer.valueOf(servletRequest.getParameter("id")));
- List list = this.facade.selectOne(lxrxxForm);
- servletRequest.setAttribute("list", list);
- return actionMapping.findForward("prinfLxrxxSelectContent");
- }
- }