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 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 by rajesh Guru (39,140 points)

Related questions

0 votes
1 answer 107 views
0 votes
1 answer 115 views
0 votes
1 answer 78 views
0 votes
1 answer 249 views
0 votes
1 answer 6 views
...