01: package simpleorm.simplewebapp.requestlet;
02:
03: /**
04: * User: bergla
05: * Date: Aug 27, 2007
06: */
07: public class WJspRenderer extends WPageRenderer {
08: @Override
09: protected void doPage() throws Exception {
10: String jsp = "/WEB-INF/jsp" + getPage().getPageItem().jspUrl();
11: //String jsp = "/test" + req.getRequestURI().substring(req.getRequestURI().indexOf("/foo")+4);
12: //+ "?" + req.getQueryString();
13: //System.err.println("JSP: " + jsp); // Beware recursion
14:
15: includeRenderer(jsp);
16: }
17: }
|