Stuart Allen wrote:
> Hello
>
> Over the last few weeks I have been writing my first few servlets and I am
> having a bit of trouble debugging them. All the standard techniques of
> placing print statements to follow the flow of execution etc. don't seem to
> work as you either having a working servlet or you don't receive any output
> at all. I guess what I am asking is whether there are any tricks of the
> trade or tools worth using (I am developing on a Linux system) regarding
> the development of servlets. The one thing I did try was to write debugging
> information to the log (using the log function), but no output appeared in
> the jserv.log. Does this log function write to a different log?
>
> Any advice would be greatly appreciated,
That log() doesn't show up in jserv.log seems odd. It does in my setup.
Another useful way is to create a small debug/log class, that collects all the
information and upon exiting the service routine, output it all to the client
(if a debug parameter is given of course.)
Niclas
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]