|
|
@@ -12,22 +12,27 @@ import org.springframework.web.servlet.ModelAndView;
|
|
|
@Controller
|
|
|
public class WebpageController extends BaseController {
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
@RequestMapping(value = "/admin/login", method = RequestMethod.GET)
|
|
|
public ModelAndView adminLogin(HttpServletRequest request, ModelAndView modelview) {
|
|
|
- modelview.setViewName("admin/login");
|
|
|
+ modelview.setViewName("/admin/login");
|
|
|
return modelview;
|
|
|
}
|
|
|
-
|
|
|
|
|
|
@RequestMapping(value = "/admin/index", method = RequestMethod.GET)
|
|
|
public ModelAndView adminHome(HttpServletRequest request, ModelAndView modelview) {
|
|
|
modelview.setViewName("/admin/index");
|
|
|
return modelview;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
+ @RequestMapping(value = "/", method = RequestMethod.GET)
|
|
|
+ public ModelAndView index(HttpServletRequest request, ModelAndView modelview) {
|
|
|
+ modelview.setViewName("/protal/index");
|
|
|
+ return modelview;
|
|
|
+ }
|
|
|
+ @RequestMapping(value = "/protal/index", method = RequestMethod.GET)
|
|
|
+ public ModelAndView protalIndex(HttpServletRequest request, ModelAndView modelview) {
|
|
|
+ modelview.setViewName("/protal/index");
|
|
|
+ return modelview;
|
|
|
+ }
|
|
|
|
|
|
}
|