Hi!

I am using the following piece of code in my servlet, but I am getting
an error that, a deprecated class is being used. (The exact error is
below the code).

public class ImgCoder extends HttpServlet {

......
......
......

catch (InterruptedException e) {
   getServletContext().log(e, "Interrupted while loading image");
   throw new ServletException(e.getMessage());
  }

....
....
...

Error The method void log (java.lang.Exception, java.lang.String) in
interface javax.servlet.ServletContext has been deprecated.
Please consult the documentation for a better alternative.


I am trying to find some info from the documentation also. In the
meantime, any info, pointer, article, code or help is highly
appreciated.

TIA
Gaurav

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to