Quellcode durchsuchen

修改

Signed-off-by: anderx <312518615@qq.com>
anderx vor 5 Jahren
Ursprung
Commit
ae243d400d

+ 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>