org.mwolff.struts.back
Class LanguageSwitchAction

java.lang.Object
  extended by org.apache.struts.action.Action
      extended by org.mwolff.struts.back.LanguageSwitchAction

public class LanguageSwitchAction
extends org.apache.struts.action.Action

.

Author:
mwolff

Field Summary
protected static org.apache.commons.logging.Log log
           Commons Logging instance.
 
Fields inherited from class org.apache.struts.action.Action
defaultLocale, servlet
 
Constructor Summary
LanguageSwitchAction()
           
 
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)
          Original method from the struts-framework.
 
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

protected static org.apache.commons.logging.Log log

Commons Logging instance.

Constructor Detail

LanguageSwitchAction

public LanguageSwitchAction()
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 java.lang.Exception
Original method from the struts-framework. This method pops the lastpath from the stack. If there is no back possible the method forwards to the original site, where the request come from

Overrides:
execute in class org.apache.struts.action.Action
Parameters:
mapping - The ActionMapping class of this call.
form - The associated ActionForm class
request - The Request
response - The Response
Returns:
Must return an ActionForward
Throws:
java.lang.Exception


Copyright © 2006 Dipl-Inf. Manfred Wolff. All Rights Reserved.