Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Debugging JSPs in Struts 2 application

 
Robert Heath
Ranch Hand
Posts: 94
C++ Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using Eclipse as a development platform for a Struts 2 app. I am stepping through JSP code and wondering how to look at variables created by the Struts 2 tags. Does anyone know how to do that? Also, is there a way to look at and evaluate objects on the ValueStack and ActionContext?
 
Joe Ess
Bartender
Posts: 9319
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The debug tag outputs the values of the ValueStack.
I've gotten a lot of mileage just printing out values to the log via a scriptlet at the head of a JSP. Never had to dig into a JSP with a debugger, though.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic