|
What application server / web container do you use to run your servlet?
What IDE / editor do you use?
You need to figure out how to enable debugging support on your app server.
Then, if you don't have one already, find an IDE that has a debugger. Eclipse is a free IDE that fits the bill. I don't use it myself, unfortunately, so I can't tell you how to use its debugger.
Also, you need to make sure that you compile your servlet with debugging info: the -g option.
|