소스 검색

修改

Signed-off-by: anderx <312518615@qq.com>
anderx 5 년 전
부모
커밋
ae243d400d
2개의 변경된 파일7개의 추가작업 그리고 17개의 파일을 삭제
  1. 7 0
      src/main/java/com/kede/common/controller/WebpageController.java
  2. 0 17
      src/main/webapp/WEB-INF/web.xml

+ 7 - 0
src/main/java/com/kede/common/controller/WebpageController.java

@@ -331,6 +331,13 @@ public class WebpageController extends BaseController {
 		modelview.setView(rv);
 		return modelview;
 	}
+	
+	@RequestMapping(value = "/null", method = RequestMethod.GET)
+	public ModelAndView isnull(HttpServletRequest request, ModelAndView modelview) {
+		modelview.setViewName("/null");
+		return modelview;
+	}
+	
 	@SuppressWarnings("unchecked")
 	@RequestMapping(value = "/portal/index", method = RequestMethod.GET)
 	public ModelAndView protalIndex(HttpServletRequest request, ModelAndView modelview) {

+ 0 - 17
src/main/webapp/WEB-INF/web.xml

@@ -74,21 +74,4 @@
     <servlet-name>KEDE-OW</servlet-name>
     <url-pattern>/</url-pattern>
   </servlet-mapping>
-  
-  <error-page>
-    <error-code>400</error-code>
-    <location>/WEB-INF/views/error.jsp</location>
-  </error-page>
-  <error-page>
-    <error-code>403</error-code>
-    <location>/WEB-INF/views/error.jsp</location>
-  </error-page>
-  <error-page>
-    <error-code>404</error-code>
-    <location>/WEB-INF/views/error.jsp</location>
-  </error-page>
-  <error-page>
-    <error-code>500</error-code>
-    <location>/WEB-INF/views/error.jsp</location>
-  </error-page>
 </web-app>