Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void doGet(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- Map<String, Object> pageVariables = createPageVariablesMap(request);
- pageVariables.put("message", "");
- response.getWriter().println(PageGenerator.instance().getPage("page.html", pageVariables));
- response.setContentType("text/html;charset=utf-8");
- response.setStatus(HttpServletResponse.SC_OK);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement