QuerySfzySelectOne.java
上传用户:quasar007
上传日期:2022-08-11
资源大小:4067k
文件大小:1k
- package com.webtier.queryInformation;
- import org.apache.struts.action.*;
- import javax.servlet.http.*;
- import com.service.SfzyFacade;
- import com.service.SfzyFacadeImpl;
- import com.domain.FfzyForm;
- public class QuerySfzySelectOne
- extends Action {
- private SfzyFacade facade;
- public QuerySfzySelectOne() {
- this.facade = new SfzyFacadeImpl();
- }
- public ActionForward perform(ActionMapping actionMapping,
- ActionForm actionForm,
- HttpServletRequest httpServletRequest,
- HttpServletResponse httpServletResponse) {
- /**@todo: complete the business logic here, this is just a skeleton.*/
- FfzyForm ffzyForm = (FfzyForm) actionForm;
- ffzyForm.setSfzy_id(httpServletRequest.getParameter("id"));
- httpServletRequest.setAttribute("form", this.facade.sfzySelect(ffzyForm));
- return actionMapping.findForward("querySfzySelectOne");
- }
- }