FileDocCategorySizeDatePackage
SimpleJspTest.javaAPI DocExample907Sat Mar 15 19:39:50 GMT 2003com.oreilly.javaxp.cactus.jsp

SimpleJspTest

public class SimpleJspTest extends org.apache.cactus.ServletTestCase
author
Brian M. Coyner
version
$Id: SimpleJspTest.java,v 1.2 2003/02/27 00:24:43 jepc Exp $

Fields Summary
Constructors Summary
public SimpleJspTest(String methodName)

        super(methodName);
    
Methods Summary
public voidendForwardingToJsp(org.apache.cactus.WebResponse webResponse)

        // now assert that the given response contains the information
        // you expect. See the HttpUnit examples for more information
        // on testing responses.
    
public voidtestForwardingToJsp()

        RequestDispatcher rd = this.config.getServletContext().
                getRequestDispatcher("/simple.jsp");
        rd.forward(this.request, this.response);