• Post Reply Bookmark Topic Watch Topic
  • New Topic

JSTL Equivalent for displaying error message

 
nilu chan
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am converting all my java expressions in JSP to JSTL. I have something like this in my JSP error page:



What would be the JSTL equivalent of the above? Please guide.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65516
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There isn't one. Grabbing the stack trace is something that should be done in the controller, before the page is forwarded to.

And if you do not have a controller, you should!
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!