1 20 21 package com.methodhead.sitecontext; 22 23 import org.apache.struts.action.Action; 24 import org.apache.struts.action.ActionMapping; 25 import org.apache.struts.action.ActionForm; 26 import org.apache.struts.action.ActionForward; 27 28 import javax.servlet.http.HttpServletRequest ; 29 import javax.servlet.http.HttpServletResponse ; 30 31 public class TestAction 32 extends 33 Action { 34 35 37 39 41 43 public ActionForward execute( 44 ActionMapping mapping, 45 ActionForm form, 46 HttpServletRequest request, 47 HttpServletResponse response ) 48 throws 49 Exception { 50 51 return mapping.findForward( "jsp" ); 52 } 53 54 56 } 58 | Popular Tags |