⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 victualertableaction.java

📁 一个汽车售后服务站的典型的进销管理系统,B/S模式的
💻 JAVA
字号:
/*
 * Generated by MyEclipse Struts
 * Template path: templates/java/JavaClass.vtl
 */
package com.xfaccp.struts.action.store;

import java.util.List;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

import org.apache.struts.action.Action;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;

import com.xfaccp.base.BaseAction;

/** 
 * MyEclipse Struts
 * Creation date: 11-06-2007
 * 
 * XDoclet definition:
 * @struts.action validate="true"
 */
public class VictualerTableAction extends BaseAction {
	/*
	 * Generated Methods
	 */

	/** 
	 * Method execute
	 * @param mapping
	 * @param form
	 * @param request
	 * @param response
	 * @return ActionForward
	 */
	public ActionForward searchForCreate(ActionMapping mapping, ActionForm form,
			HttpServletRequest request, HttpServletResponse response) {
		try {
			HttpSession session=request.getSession();
			List list=command.findAllList();
			session.setAttribute("victualerList", list);
		} catch (Exception e) {
			 
			e.printStackTrace();
		}
		return mapping.findForward("createAccessoryInfo");
	 
	}
	
	public ActionForward searchForSearch(ActionMapping mapping, ActionForm form,
			HttpServletRequest request, HttpServletResponse response) {
		try {
			HttpSession session=request.getSession();
			List list=command.findAllList();
			session.setAttribute("victualerList", list);
		} catch (Exception e) {
			 
			e.printStackTrace();
		}
		return mapping.findForward("searchAccessoryInfo");
	 
	}
	
	public ActionForward searchForUpdate(ActionMapping mapping, ActionForm form,
			HttpServletRequest request, HttpServletResponse response) {
		try {
			HttpSession session=request.getSession();
			List list=command.findAllList();
			session.setAttribute("victualerList", list);
		} catch (Exception e) {
			 
			e.printStackTrace();
		}
		return mapping.findForward("searchUpdateAccessory");
	 
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -