error message format 404 throw
This commit is contained in:
+13
-13
@@ -34,6 +34,7 @@
|
||||
<param-name>contextConfigLocation</param-name>
|
||||
<param-value>/WEB-INF/applicationContext.xml</param-value>
|
||||
</context-param>
|
||||
|
||||
<!-- Weblogic 14.1.2 서블릿 설정 -->
|
||||
<servlet>
|
||||
<servlet-name>default</servlet-name>
|
||||
@@ -73,19 +74,18 @@
|
||||
</filter-mapping>
|
||||
|
||||
<!-- Dynamic REST API 어댑터 설정 -->
|
||||
<!--
|
||||
<servlet>
|
||||
<description/>
|
||||
<servlet-name>RestApiDynamicInAdapter</servlet-name>
|
||||
<servlet-class>com.eactive.eai.adapter.http.dynamic.RestApiAdapterMain</servlet-class>
|
||||
<load-on-startup>2</load-on-startup>
|
||||
</servlet>
|
||||
<servlet-mapping>
|
||||
<servlet-name>RestApiDynamicInAdapter</servlet-name>
|
||||
<url-pattern>/API/*</url-pattern>
|
||||
<url-pattern>/api/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
-->
|
||||
<!-- <servlet>-->
|
||||
<!-- <description/>-->
|
||||
<!-- <servlet-name>RestApiDynamicInAdapter</servlet-name>-->
|
||||
<!-- <servlet-class>com.eactive.eai.adapter.http.dynamic.RestApiAdapterMain</servlet-class>-->
|
||||
<!-- <load-on-startup>2</load-on-startup>-->
|
||||
<!-- </servlet>-->
|
||||
<!-- <servlet-mapping>-->
|
||||
<!-- <servlet-name>RestApiDynamicInAdapter</servlet-name>-->
|
||||
<!-- <url-pattern>/API/*</url-pattern>-->
|
||||
<!-- <url-pattern>/api/*</url-pattern>-->
|
||||
<!-- </servlet-mapping>-->
|
||||
|
||||
<!--
|
||||
<listener>
|
||||
<listener-class>com.eactive.eai.adapter.http.async.AppContextListener</listener-class>
|
||||
|
||||
@@ -49,6 +49,10 @@
|
||||
<servlet>
|
||||
<servlet-name>authserver</servlet-name>
|
||||
<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
|
||||
<init-param>
|
||||
<param-name>throwExceptionIfNoHandlerFound</param-name>
|
||||
<param-value>true</param-value>
|
||||
</init-param>
|
||||
<load-on-startup>1</load-on-startup>
|
||||
</servlet>
|
||||
<servlet-mapping>
|
||||
@@ -160,9 +164,45 @@
|
||||
<welcome-file-list>
|
||||
<welcome-file>index.jsp</welcome-file>
|
||||
</welcome-file-list>
|
||||
<error-page>
|
||||
<error-code>400</error-code>
|
||||
<location>/error.jsp</location>
|
||||
</error-page>
|
||||
<error-page>
|
||||
<error-code>401</error-code>
|
||||
<location>/error.jsp</location>
|
||||
</error-page>
|
||||
<error-page>
|
||||
<error-code>402</error-code>
|
||||
<location>/error.jsp</location>
|
||||
</error-page>
|
||||
<error-page>
|
||||
<error-code>403</error-code>
|
||||
<location>/error.jsp</location>
|
||||
</error-page>
|
||||
<error-page>
|
||||
<error-code>404</error-code>
|
||||
<location>/error.jsp</location>
|
||||
</error-page>
|
||||
<error-page>
|
||||
<error-code>405</error-code>
|
||||
<location>/error.jsp</location>
|
||||
</error-page>
|
||||
<error-page>
|
||||
<error-code>500</error-code>
|
||||
<location>/error.jsp</location>
|
||||
</error-page>
|
||||
<error-page>
|
||||
<error-code>501</error-code>
|
||||
<location>/error.jsp</location>
|
||||
</error-page>
|
||||
<error-page>
|
||||
<error-code>502</error-code>
|
||||
<location>/error.jsp</location>
|
||||
</error-page>
|
||||
<error-page>
|
||||
<error-code>503</error-code>
|
||||
<location>/error.jsp</location>
|
||||
</error-page>
|
||||
|
||||
</web-app>
|
||||
Reference in New Issue
Block a user