facebook

Debugging JSPs in Struts 2 application

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #314001 Reply

    Robert Heath
    Member

    I am stepping through a JSP file with MyEclipse, and I cannot figure out how to evaluate certain variables in the JSP tags.

    IS there a way to do that? Is there a way to look on the ValueStack or ActionContext to evaluate objects located there?

    #314027 Reply

    support-joy
    Member

    bobheath,

    I am afraid, we do not support stepping through variables in the JSP tags. You can either use the c:out statements to print these elements in the jsp or place a breakpoint in your .class file where you construct the object that you assign to your JSP variables and step through the same and evaluate.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Debugging JSPs in Struts 2 application

You must be logged in to post in the forum log in