Arch4J 1.1

org.arch4j.webpresentation
Class UnknownFrontCommand

java.lang.Object
  |
  +--org.arch4j.webpresentation.FrontCommand
        |
        +--org.arch4j.webpresentation.UnknownFrontCommand

public class UnknownFrontCommand
extends FrontCommand

This class is a special case FrontCommand. The command could not be discerned, so forward to a page to report this fact.

Version:
$Revision: 1.1 $
Author:
$Author: rgreinke $

Field Summary
 
Fields inherited from class org.arch4j.webpresentation.FrontCommand
context, request, response
 
Constructor Summary
UnknownFrontCommand()
           
 
Method Summary
 String execute()
          Execute the command and return the target to forward to.
 
Methods inherited from class org.arch4j.webpresentation.FrontCommand
init, setHelperAttribute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnknownFrontCommand

public UnknownFrontCommand()
Method Detail

execute

public String execute()
               throws javax.servlet.ServletException,
                      IOException
Execute the command and return the target to forward to. Forwards to the page named /unknown.jsp.

Specified by:
execute in class FrontCommand
Returns:
A String containing a fully-qualified resource name, which will be forwarded to.
Throws:
javax.servlet.ServletException - If the request could not be handled.
IOException - If an input or output error is detected when the servlet handles the request.

Arch4J 1.1

Copyright © 2000-2004 SpiderLogic, a service of Wipfli Ullrich Bertelson LLP.