org.apache.struts.webapp.example
Class SaveSubscriptionAction

java.lang.Object
  extended byorg.apache.struts.action.Action
      extended byorg.apache.struts.webapp.example.SaveSubscriptionAction

public final class SaveSubscriptionAction
extends org.apache.struts.action.Action

Implementation of Action that validates and creates or updates the mail subscription entered by the user.

Version:
$Revision: 187140 $ $Date: 2004-07-30 00:23:04 +0200 (Fri, 30 Jul 2004) $

Field Summary
private  org.apache.commons.logging.Log log
          The Log instance for this application.
 
Fields inherited from class org.apache.struts.action.Action
defaultLocale, servlet
 
Constructor Summary
SaveSubscriptionAction()
           
 
Method Summary
 org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 
Methods inherited from class org.apache.struts.action.Action
addErrors, addMessages, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

private org.apache.commons.logging.Log log
The Log instance for this application.

Constructor Detail

SaveSubscriptionAction

public SaveSubscriptionAction()
Method Detail

execute

public org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mapping,
                                                      org.apache.struts.action.ActionForm form,
                                                      javax.servlet.http.HttpServletRequest request,
                                                      javax.servlet.http.HttpServletResponse response)
                                               throws Exception
Throws:
Exception


Copyright © 1999-2005 Apache Software Foundation. All Rights Reserved.