Which Servlet container are u using
M
-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of
Servlets
Sent: Saturday, June 23, 2001 4:23 PM
To: [EMAIL PROTECTED]
Subject: Exception not being caught in doPost
There are two weird problems that I am facing.
1. I have a try catch block in doPost method. Appropriate error messages are
displayed in the catch block.
But what I see is that the exceptions are not caught but passed on to the
servlet container. In the end I see the typical Internal Server error
message on the browser. This is strange, since it works the way I want, on
my development server, but fails at the testing server. Both the servers
have same environment, which is Apache + Jserv. Since I am still stuck to
api2.0 for some reasons.
2. This one is related to the class loading...
I have two packages named CLIENT and DATABASE.
I had a class named popConnections in CLIENT. I then moved it to DATABASE.
All the other classes that use popConnections were recompiled *without*
errors. But during runtime, these are searched in CLIENT. And what I see in
mod_jserv log is NoClassDefFoundError CLIENT/popConnections.
Any clue????
Thanks.
Anshul
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html