protected void doGet( HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { doRequest(request, response); }
protected JellyContext createChildContext() { return new JellyServletContext(this, ctx); } }
/** * Handles all requests * @param req HttpServletRequest object containing client request * @param res HttpServletResponse object for the response * @throws ServletException * @throws IOException */ protected void doRequest(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException { JellyContext context = createContext(req, res); try { URL script = getScript(req); runScript(script, context, req, res); } catch (Exception e) { error(req, res, e); } }
/** * @see org.apache.velocity.servlet.VelocityServlet#createContext * @param req * @param res * @return */ protected JellyContext createContext( HttpServletRequest req, HttpServletResponse res) { JellyContext ctx = new JellyServletContext(getServletContext()); ctx.setVariable(REQUEST, req); ctx.setVariable(RESPONSE, res); return ctx; }
/** * Handles all requests * @param req HttpServletRequest object containing client request * @param res HttpServletResponse object for the response * @throws ServletException * @throws IOException */ protected void doRequest(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException { JellyContext context = createContext(req, res); try { URL script = getScript(req); runScript(script, context, req, res); } catch (Exception e) { error(req, res, e); } }
/** * @see org.apache.velocity.servlet.VelocityServlet#createContext * @param req * @param res * @return */ protected JellyContext createContext( HttpServletRequest req, HttpServletResponse res) { JellyContext ctx = new JellyServletContext(getServletContext()); ctx.setVariable(REQUEST, req); ctx.setVariable(RESPONSE, res); return ctx; }
protected void doPost( HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { doRequest(request, response); }
protected JellyContext createChildContext() { return new JellyServletContext(this, ctx); } }
/** * Handles all requests * @param req HttpServletRequest object containing client request * @param res HttpServletResponse object for the response * @throws ServletException * @throws IOException */ protected void doRequest(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException { JellyContext context = createContext(req, res); try { URL script = getScript(req); runScript(script, context, req, res); } catch (Exception e) { error(req, res, e); } }
/** * @see org.apache.velocity.servlet.VelocityServlet#createContext * @param req * @param res * @return */ protected JellyContext createContext( HttpServletRequest req, HttpServletResponse res) { JellyContext ctx = new JellyServletContext(getServletContext()); ctx.setVariable(REQUEST, req); ctx.setVariable(RESPONSE, res); return ctx; }
protected void doPost( HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { doRequest(request, response); }
protected JellyContext createChildContext() { return new JellyServletContext(this, ctx); } }
/** * Handles all requests * @param req HttpServletRequest object containing client request * @param res HttpServletResponse object for the response * @throws ServletException * @throws IOException */ protected void doRequest(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException { JellyContext context = createContext(req, res); try { URL script = getScript(req); runScript(script, context, req, res); } catch (Exception e) { error(req, res, e); } }
/** * @see org.apache.velocity.servlet.VelocityServlet#createContext * @param req * @param res * @return */ protected JellyContext createContext( HttpServletRequest req, HttpServletResponse res) { JellyContext ctx = new JellyServletContext(getServletContext()); ctx.setVariable(REQUEST, req); ctx.setVariable(RESPONSE, res); return ctx; }
protected void doGet( HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { doRequest(request, response); }
protected JellyContext createChildContext() { return new JellyServletContext(this, ctx); } }
protected void doPost( HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { doRequest(request, response); }
protected void doPost( HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { doRequest(request, response); }
protected void doGet( HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { doRequest(request, response); }
protected void doGet( HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { doRequest(request, response); }