|
|
@@ -323,6 +323,14 @@ public class WebpageController extends BaseController {
|
|
|
modelview.setView(rv);
|
|
|
return modelview;
|
|
|
}
|
|
|
+ @RequestMapping(value = "", method = RequestMethod.GET)
|
|
|
+ public ModelAndView shome(HttpServletRequest request, ModelAndView modelview) {
|
|
|
+ RedirectView rv = new RedirectView();
|
|
|
+ modelview.setViewName("/portal/index");
|
|
|
+ rv.setExposeModelAttributes(false);
|
|
|
+ modelview.setView(rv);
|
|
|
+ return modelview;
|
|
|
+ }
|
|
|
@SuppressWarnings("unchecked")
|
|
|
@RequestMapping(value = "/portal/index", method = RequestMethod.GET)
|
|
|
public ModelAndView protalIndex(HttpServletRequest request, ModelAndView modelview) {
|