1 18 package org.apache.struts.webapp.tiles.invoice; 19 20 import java.util.Locale ; 21 import javax.servlet.http.HttpServletRequest ; 22 import javax.servlet.http.HttpServletResponse ; 23 import javax.servlet.http.HttpSession ; 24 import org.apache.struts.action.Action; 25 import org.apache.struts.action.ActionForm; 26 import org.apache.struts.action.ActionForward; 27 import org.apache.struts.action.ActionMapping; 28 29 30 36 37 public final class EditInvoiceAction extends Action { 38 39 40 42 43 58 public ActionForward execute( 59 ActionMapping mapping, 60 ActionForm form, 61 HttpServletRequest request, 62 HttpServletResponse response) 63 throws Exception { 64 65 Locale locale = getLocale(request); 67 HttpSession session = request.getSession(); 68 69 InvoiceForm invoice = (InvoiceForm)form; 72 73 return (mapping.findForward("success")); 76 77 } 78 79 80 } 81 | Popular Tags |