类 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.

    从以下版本开始:
    1.0.2
    作者:
    Juergen Hoeller