Any way to Debug a servlet?
Hello !!I was wondering how can I debug a servlet? I have written a servlet, and I run it, and I just don't know where it goes wrong, or what happens. Is there a way to use the System.out.println function or something like that?Thank you !!
[262 byte] By [
Sahabaa] at [2007-10-2 0:36:34]

Hello,
Have you checked the logs that your Servlet container keeps?
In case you want to write your own log how about create a file in servlet initialization and then write in it?
System.out.println will not work for a servlet unless you actually redirect System.out to a file
Hope this helps