Hi, need to transform to servlet 2.2.

catch(Exception e)
     log(e);
     throw new servletException(e.toString());


private void log(Exception e)
{
  getServletConfig().getServletContext().log(e, "");
}

I know the new method is:
void ServletContext.log(String message, Throwable t)

I am having a hard time finding sample code.
Can someone give me a jump start.
Thanks,
Debra


Reply via email to