File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Error Page in Servlet 2.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Error Page in Servlet 2.1" Watch "Error Page in Servlet 2.1" New topic

Error Page in Servlet 2.1

sushil bharwani

Joined: Mar 02, 2006
Posts: 26
I m using servlet 2.1 . My problem is i use a servlet to set the src of a iframe if the file that src will display is not present it gives servlet mapping exception . I thought of using error age entry in web.xml but i came to know that this faciltiy is with only servlet 2.2 how can i do the same thing in servlet 2.1
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

2.1 is very old.
I doubt you'll find too many people who remember all the finer points of that version.

Out of curiosity, do you have any plans to upgrade in the near future?

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
sushil bharwani

Joined: Mar 02, 2006
Posts: 26
No we have a limitation of not being able to upgrade to 2.1. We have a customized Portal Solution from some vendor and upgrading to a further version makes it works improperly.

do you still have solution ... displaying of error page on generic exceptions
I agree. Here's the link:
subject: Error Page in Servlet 2.1
It's not a secret anymore!