How can Netbeans check a property of a object inside a JSP?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

How can Netbeans check a property of a object inside a JSP?

priya465
NetBeans debugger doesn't see JSP vars as variables that can be evaluated directly. They are context attributes. So, the method that worked for met was to enter

pageContext.findAttribute("perspectiveCount")
in the "Evaluate Code" tab. After doing so and clicking on "Evaluate Code Fragment" button debugger added pageContext.findAttribute("perspectiveCount") to the "Variables" tab and showed its value there.