*/
public void service(HttpServletRequest request,
HttpServletResponse response)
throws Exception {
// get services...
ServicesRegistry sReg = ServicesRegistry.getInstance();
if (sReg != null) {
uMgr = sReg.getJahiaUserManagerService();
gMgr = sReg.getJahiaGroupManagerService();
}
// get the current website. get the jahiaserver if it's null...
jahiaSite = (JahiaSite) request.getSession().getAttribute(ProcessingContext.SESSION_SITE);
JahiaData jData = (JahiaData) request.getAttribute("org.jahia.data.JahiaData");
this.jParams = jData.getProcessingContext();
if (jahiaSite == null) {
JahiaSitesService sitesService = sReg.getJahiaSitesService();
jahiaSite = sitesService.getSite(0);
request.getSession().setAttribute(ProcessingContext.SESSION_SITE, jahiaSite);
}
userRequestDispatcher(request, response, request.getSession());
} // end constructor