>>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