You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by aj...@apache.org on 2005/08/16 06:47:51 UTC
svn commit: r232936 - in /webservices/axis/trunk/java/modules/core:
conf/web.xml webapp/Error/ webapp/Error/AuthError.html
webapp/Error/GenError.html
Author: ajith
Date: Mon Aug 15 21:45:43 2005
New Revision: 232936
URL: http://svn.apache.org/viewcvs?rev=232936&view=rev
Log:
Adding the static error pages. Weirdly the error page reference to a jsp page seems to fail!
Added:
webservices/axis/trunk/java/modules/core/webapp/Error/
webservices/axis/trunk/java/modules/core/webapp/Error/AuthError.html
webservices/axis/trunk/java/modules/core/webapp/Error/GenError.html
Modified:
webservices/axis/trunk/java/modules/core/conf/web.xml
Modified: webservices/axis/trunk/java/modules/core/conf/web.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/conf/web.xml?rev=232936&r1=232935&r2=232936&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/conf/web.xml (original)
+++ webservices/axis/trunk/java/modules/core/conf/web.xml Mon Aug 15 21:45:43 2005
@@ -99,10 +99,10 @@
</servlet-mapping>
<error-page>
<exception-type>org.apache.axis2.transport.http.server.AdminAppException</exception-type>
- <location>/error.jsp</location>
+ <location>/Error/AuthError.html</location>
</error-page>
<error-page>
<exception-type>java.lang.Exception</exception-type>
- <location>/error.jsp</location>
+ <location>/Error/GenError.html</location>
</error-page>
</web-app>
Added: webservices/axis/trunk/java/modules/core/webapp/Error/AuthError.html
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/webapp/Error/AuthError.html?rev=232936&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/core/webapp/Error/AuthError.html (added)
+++ webservices/axis/trunk/java/modules/core/webapp/Error/AuthError.html Mon Aug 15 21:45:43 2005
@@ -0,0 +1,25 @@
+<html>
+ <header><title>Error In Admin Application</title></header>
+ <body>
+ <table width="100%">
+ <tr>
+ <td align="left"><img src="images/asf-logo.gif"/><h1>Axis 2</h1></td>
+ <td align="right"><img src="images/axis.jpg"/></td>
+ </tr>
+</table>
+<table width="100%">
+ <tr>
+ <td align="center">Failure in Authentication! Please check your username and password</td>
+
+ </tr>
+ <tr> <td align="center"><a href="\axis2\Loging.jsp">back</a></td></tr>
+</table>
+
+<hr/>
+<table width="100%">
+ <tr>
+ <td align="center">All rights reserved by Apache Software Foundation</td>
+ </tr>
+</table>
+ </body>
+</html>
\ No newline at end of file
Added: webservices/axis/trunk/java/modules/core/webapp/Error/GenError.html
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/webapp/Error/GenError.html?rev=232936&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/core/webapp/Error/GenError.html (added)
+++ webservices/axis/trunk/java/modules/core/webapp/Error/GenError.html Mon Aug 15 21:45:43 2005
@@ -0,0 +1,25 @@
+<html>
+ <header><title>Error In Admin Application</title></header>
+ <body>
+ <table width="100%">
+ <tr>
+ <td align="left"><img src="images/asf-logo.gif"/><h1>Axis 2</h1></td>
+ <td align="right"><img src="images/axis.jpg"/></td>
+ </tr>
+</table>
+<table width="100%">
+ <tr>
+ <td align="center">Server Encountered an Error!</td>
+
+ </tr>
+ <tr> <td align="center"><a href="/">home</a></td></tr>
+</table>
+
+<hr/>
+<table width="100%">
+ <tr>
+ <td align="center">All rights reserved by Apache Software Foundation</td>
+ </tr>
+</table>
+ </body>
+</html>
\ No newline at end of file