You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Wolle <wo...@dorf.RWTH-Aachen.DE> on 2001/04/17 02:08:59 UTC

PrintWriter close whne exception is thrown ?

Hello all,
i have a question about the Servlet class.
The Methode of the servlet (doPost and doGet) throws a exception.
But what is with the PrintWriter when a excpetion is thrown ?
Will it close the Writer explicit, or hopes it, that the gabrage
Collector will give it free ?

Thank you for inconvenience,
Michael


A QUESTION ABOUT CLASSPATHS

Posted by Nick Stoianov <ni...@yaya.com>.
Hi,

I'm running Tomcat/mod_jk on Linux/Apache. I have set up the CLASSPATH
variable to point to the classes directory. However when I execute a servlet
that requires classes I get ERROR:500 Internal Server Error saying that the
class can not be found.
Any idea what I can be doing wrong? Is there another way to setup the
classes directory?

Thanks,
Nick