else if (req.getParameterMap().containsKey(Parameters.PRODUCT.getId())) {
ProductHandler ph = new ProductHandler(req);
v = ph.getProductView(true, null);
}
else {
Handler h = new Handler(req);
v = h.getAdminHomeView();
}
}
else {
Handler h = new Handler(req);
v = h.getLoginView("Please Login", h.getMainAdminView());
}
v.setServletPath("admin");
req.setAttribute(REQUEST_ATTRIBUTE_VIEW, v);