error-page for appserver 7 web.xml
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   ntc2000_ntc2000
Posted On:   Friday, July 9, 2010 06:37 AM

login Hi, I try to forward servlet exception to a standard error page using tag in web.xml. But when browser display the error page, it's show the http header directive as well. Anyone what is the root cause for this? Even i forward to a normal html page, it's still display the http header info. javax.servlet.ServletException /jsp/error/servlet_errorpage.jsp Result http://lh3.ggpht.com/_QNCY5-RSvLE/TDbk1zsZRLI/AAAAAAAABv8/Lm753IKUpz0/s800/error-page.JPG View Source from IE Server: Sun-J   More>>
login



Hi,

I try to forward servlet exception to a standard error page using tag in web.xml. But when browser display the error page, it's show the http header directive as well. Anyone what is the root cause for this? Even i forward to a normal html page, it's still display the http header info.








			


javax.servlet.ServletException


/jsp/error/servlet_errorpage.jsp








Result


http://lh3.ggpht.com/_QNCY5-RSvLE/TDbk1zsZRLI/AAAAAAAABv8/Lm753IKUpz0/s800/error-page.JPG







View Source from IE






			
Server: Sun-Java-System-Application-Server/7 2004Q2
Date: Fri, 09 Jul 2010 07:55:53 GMT
Content-type: text/html;charset=ISO-8859-1
Transfer-Encoding: chunked

a0f

















normal error page.... bla bla bla.






0

   <<Less
About | Sitemap | Contact