|
|
@ -140,9 +140,7 @@ public class GlobalController implements ErrorController {
|
|
|
|
* @param request
|
|
|
|
* @param request
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@RequestMapping({"/**/*.htm"})
|
|
|
|
@RequestMapping({"/**/*.htm"})
|
|
|
|
public String action(HttpServletRequest request, Model model) {
|
|
|
|
public String action(Model model, HttpServletRequest request, HttpServletResponse response) {
|
|
|
|
HttpServletResponse response = ((ServletRequestAttributes) RequestContextHolder.getRequestAttributes()).getResponse();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
String servletPath = request.getServletPath();// /**/*.htm
|
|
|
|
String servletPath = request.getServletPath();// /**/*.htm
|
|
|
|
String layout = "/layout/default";
|
|
|
|
String layout = "/layout/default";
|
|
|
|
String action = LocalData.getAction();// **/*
|
|
|
|
String action = LocalData.getAction();// **/*
|
|
|
|