[jboss-user] [Beginners Corner] - Re: Error in my error.jsp

pepelara do-not-reply at jboss.com
Sun Nov 9 04:54:42 EST 2008


Hi,

I have solved my problem. The right code, if anyone needed should be:


  | <tr>
  |   <td>
  |     <textarea class="textareaException" cols="70" rows="10" readonly="readonly">
  | 	<%
  | 		StringWriter sw = new StringWriter();
  | 		PrintWriter pw = new PrintWriter(sw);
  | 		exception.printStackTrace(pw);
  | 		out.print(sw);
  | 		sw.close();
  | 		pw.close();
  | 	%>		
  |       </textarea>
  |    </td>
  | </tr>
  | 

Thank you,
pepelara

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187938#4187938

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187938



More information about the jboss-user mailing list