class JspAutotagRuntime extends SimpleTagSupport implements AutotagRuntime<Request> {

    @Override
    public Request createRequest() {
        JspContext pageContext = getJspContext();
        return JspRequest.createServletJspRequest(org.apache.tiles.request.jsp.JspUtil.getApplicationContext(pageContext),
                                                  (PageContext) pageContext);
    }

}