#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2001
    Posts
    2
    Rep Power
    0

    Angry printStackTrace to JspWriter ?


    Hi,
    is there a decent way to print a stacktrace to a JspWriter i.e. out ?
  2. #2
  3. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2001
    Location
    UK
    Posts
    0
    Rep Power
    0
    Try this:

    <% exception.printStackTrace(new PrintWriter(out, true)); %>

IMN logo majestic logo threadwatch logo seochat tools logo