?? delrightaction.java
字號:
// Created by Xslt generator for Eclipse.
// XSL : not found (java.io.FileNotFoundException: (No such file or directory))
// Default XSL used : easystruts.jar$org.easystruts.xslgen.JavaClass.xsl
package com.ahbay.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.ahbay.RightMgr.RightinfoMgr;
/**
* DelrightAction.java created by EasyStruts - XsltGen.
* http://easystruts.sf.net
* created on 09-05-2006
*
* XDoclet definition:
* @struts:action validate="true"
*/
public class DelrightAction extends Action
{
// --------------------------------------------------------- Instance Variables
// --------------------------------------------------------- Methods
/**
* Method execute
* @param ActionMapping mapping
* @param ActionForm form
* @param HttpServletRequest request
* @param HttpServletResponse response
* @return ActionForward
* @throws Exception
*/
public ActionForward execute(
ActionMapping mapping,
ActionForm form,
HttpServletRequest request,
HttpServletResponse response)
throws Exception
{
RightinfoMgr right = new RightinfoMgr();
String menuId = request.getParameter("menuId");
String staffId = request.getParameter("staffId");
right.setMenu_id(menuId);
right.setStaff_id(staffId);
String result = right.EndUserRight();
request.setAttribute("result",result);
request.setAttribute("rightStaffId",staffId);
request.setAttribute("order","28");
return mapping.findForward("error");
}
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -