Hello

> Could please give me some advice about how to append some data into an existed
> log file? Thanks.

The GenericServlet.log method (which HttpServlets inherit) appends to the
log file - within a servlet, just call 'log'.

In a JSP you can do the same thing using the ServletContext.log method. The
ServletContext is referenced through the 'application' object that is given
to you by the container - hence, just call 'application.log' within a JSP
scriptlet.

Regards

Harry Mantheakis
London, UK


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to