/** * 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); } }
/** * 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); } }
/** * 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); } }
/** * 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); } }