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

📄 syouhinregistconfdispatchaction.java

📁 用strutshibernate做的项目
💻 JAVA
字号:
//Created by MyEclipse Struts
// XSL source (default): platform:/plugin/com.genuitec.eclipse.cross.easystruts.eclipse_4.0.1/xslt/JavaClass.xsl

package com.dut.struts.action;

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

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.dut.struts.form.SyouhinInputActionForm;

/**
 * MyEclipse Struts Creation date: 04-17-2006
 * 
 * XDoclet definition:
 * 
 * @struts.action path="/syouhinRegistConfDispatch"
 *                name="syouhinInputActionForm" scope="request" validate="true"
 */
public class SyouhinRegistConfDispatchAction extends Action {

	// --------------------------------------------------------- Instance
	// Variables

	// --------------------------------------------------------- Methods

	/**
	 * Method execute
	 * 
	 * @param mapping
	 * @param form
	 * @param request
	 * @param response
	 * @return ActionForward
	 */
	public ActionForward execute(ActionMapping mapping, ActionForm form,
			HttpServletRequest request, HttpServletResponse response) {
		SyouhinInputActionForm syouhinInputActionForm = (SyouhinInputActionForm) form;

		String s_yeshu = (String) request.getSession().getAttribute("s_yeshu");
		String s_dengji = (String) request.getSession().getAttribute("s_dengji");
		String s_sp = (String) request.getSession().getAttribute("s_sp");
		String s_spname = (String) request.getSession().getAttribute("s_spname");
		String s_spnamel = (String) request.getSession().getAttribute("s_spnamel");
		String duix = (String) request.getSession().getAttribute("duix");
		String s_by = (String) request.getSession().getAttribute("s_by");
		String s_fl = (String) request.getSession().getAttribute("s_fl");
		String s_qyyz = (String) request.getSession().getAttribute("s_qyyz");
		String s_qyfh = (String) request.getSession().getAttribute("s_qyfh");
		String s_ddbs = (String) request.getSession().getAttribute("s_ddbs");

		request.setAttribute("s_yeshu", s_yeshu);
		request.setAttribute("s_dengji", s_dengji);
		request.setAttribute("s_sp", s_sp);
		request.setAttribute("s_spname", s_spname);
		request.setAttribute("s_spnamel", s_spnamel);
		request.setAttribute("duix", duix);
		request.setAttribute("s_by", s_by);
		request.setAttribute("s_fl", s_fl);
		request.setAttribute("s_qyyz", s_qyyz);
		request.setAttribute("s_qyfh", s_qyfh);
		request.setAttribute("s_ddbs", s_ddbs);

		ActionForward forward = mapping.findForward("s_not");
		return forward;
	}

}

⌨️ 快捷键说明

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