C Books Guide and List
C++ Books Guide and List
Best Java Books

3,749 questions

4,049 answers

114 comments

10,705 users

How can I print the stack trace of an exception from a JSP page?

0 votes
9 views
asked Jan 4, 2014 by sara Guru (24,570 points)

1 Answer

0 votes
By creating an object of PrintWriter we can print the stack trace in JSP page. Eg:

PrintWriter pw = response.getWriter();

exception.printStackTrace(pw);
answered Jan 4, 2014 by rajesh Guru (39,140 points)

Related questions

0 votes
1 answer 102 views
102 views asked Jan 3, 2014 by smith Geek (15,340 points)
0 votes
1 answer 113 views
0 votes
1 answer 75 views
0 votes
1 answer 248 views
0 votes
1 answer 4 views
...