debug JSP from eclipse

前端 未结 4 671
南方客
南方客 2020-12-05 01:53

Does anyone know of a good tool for debugging JSPs from within Eclipse? I\'d like to be able to set and watch breakpoints, step through the Java code/tags, etc within Eclips

4条回答
  •  猫巷女王i
    2020-12-05 02:28

    Within Eclipse, you can put breakpoints to your jsp file, step through the Java code/tags, etc.
    However the only view you can use while debugging is the Variables view to inspect the value of any variable.

    And one more thing, you can not see the value for example of this expression:
    <%= response.encodeURL("ProcessLogin.jsp") %>
    just the value of the variable response.

提交回复
热议问题