Class MockPageContext


public class MockPageContext extends PageContext
Mock implementation of the PageContext interface. Only necessary for testing applications when testing custom JSP tags.

Note: Expects initialization via the constructor rather than via the PageContext.initialize method. Does not support writing to a JspWriter, request dispatching, or handlePageException calls.

Since:
1.0.2
Author:
Juergen Hoeller