*/
protected final void processRequest(final HttpServletRequest request,
final HttpServletResponse response)
throws ServletException, IOException {
PageController pageController = new PageController();
String pathInfo = request.getPathInfo();
if (pathInfo!= null && pathInfo.length() > 0)
pathInfo = pathInfo.substring(1);
if(Mode.LOAD.getMode().equals(pathInfo)) {
pageController.loadPages(request, response);
} else if(Mode.SAVE.getMode().equals(pathInfo)) {
pageController.savePage(request, response);
} else if(Mode.SHOW.getMode().equals(pathInfo)) {
pageController.showPages(request, response);
} else if(Mode.PREVIEW.getMode().equals(pathInfo)) {
pageController.pagePreview(request, response);
}
}