Thanks Mario, but I've solved it, (I don't know if it were a internal
problem, but with getServletContext().log(Exception,String) works fine).

-----Mensaje original-----
De: Mario <[EMAIL PROTECTED]>
Para: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Fecha: mi�rcoles 10 de marzo de 1999 11:08
Asunto: Re: Problem with log(Exception, String)


>>>Hi!
>>>I've a problem with
>>>    log(Exception e, String msg) function
>>>I use in a try-catch loop in the next way :
>>>
>>> import javax.servlet.*;
>>>
>>>    ... more imports...
>>>
>>> class myClass(){
>>>
>>>...try {.....}
>>>
>>>  catch (Exception e)  {
>>>    log(e, "ERROR" + e.getMessage());
>>>  } ...
>>>
>>>} // end class
>>>
>>>when I try to compile it the compiler show me a
>>>"log(java.lang.Exception, java.lang.String) not found on myClass" error,
>>>but the log(String msg) works fine.
>
>Does your class extend a Servlet superclass? e.g.
>public class MyClass extends HttpServlet {
>...
>}
>
>Mario
>
>___________________________________________________________________________
>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

___________________________________________________________________________
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