• Post Reply Bookmark Topic Watch Topic
  • New Topic

How To Get The StackTrace Using EL.  RSS feed

 
Bennet Xavier
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Everyone,

i tried the follwing things...

<c:catch var="exception">
<%
int a[]=new int[1];
a[1]=12;
%>
</c:catch>

${exception.stackTrace}

Answer: its printing the StackTraceElement reference.

How do i print the stackTrace like printStackTrace.

How to know the properties of exception in EL.

Can i handle specific Exception in <c:catch> tag.

Thanks In Advance.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!