// Created by Xslt generator for Eclipse.
// XSL : not found (java.io.FileNotFoundException: (Bad file descriptor))
// Default XSL used : easystruts.jar$org.easystruts.xslgen.JavaClass.xsl
package shiten.struts.action;
import java.io.IOException;
import java.util.*;
import javax.servlet.ServletException;
import javax.servlet.http.*;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.actions.LookupDispatchAction;
/**
* ActionLookupExample.java created by EasyStruts - XsltGen.
* http://easystruts.sf.net
* created on 12-13-2003
*
* XDoclet definition:
* @struts:action validate="true"
*/
public class ActionLookupExample extends LookupDispatchAction {
protected Map getKeyMethodMap() {
Map map = new HashMap();
map.put("button.new", "processNew");
map.put("button.edit", "processEdit");
return map;
}
public ActionForward processNew(ActionMapping mapping,
ActionForm form,
HttpServletRequest request,
HttpServletResponse response)
throws IOException, ServletException {
return mapping.findForward("LookupExampleNew");
}
public ActionForward processEdit(ActionMapping mapping,
ActionForm form,
HttpServletRequest request,
HttpServletResponse response)
throws IOException, ServletException {
return mapping.findForward("LookupExampleEdit");
}
}
|