KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > example > FormAction


1 package example;
2
3 import javax.servlet.http.*;
4 import org.apache.struts.action.*;
5
6
7 public class FormAction extends GuestbookAction {
8
9     public ActionForward execute(
10             ActionMapping mapping,
11             ActionForm form,
12             HttpServletRequest req,
13             HttpServletResponse resp) throws Exception JavaDoc {
14
15         return mapping.findForward("success");
16     }
17
18 }
19
Popular Tags