Tag dumping attributes of session, requests and application into console like firebug.
- Add dependency in your pom.xml :
<dependency>
<groupId>fr.figarocms</group>
<artifactId>web-debug-tag</artifactId>
<version>1.1</version>
</dependency>
- you can download it here https://oss.sonatype.org/ find web-debug-tag.
Be carefull with spring or sitemesh
- Add in your web.xml, min 1 filter.
<context-param>
<param-name>webdebug.excludes</param-name>
<param-value>org.,com.,__spring,__sitemesh</param-value>
</context-param>
- Add -Ddebug.jsp=true in "APPS-OPTS" of your setenv.sh.
- Add -Ddebug.jsp=true in VM parameters of your Runner.
- Add in jsp file you want to debug :
<%@ taglib prefix="debug" uri="https://github.com/figarocms/web-debug-tag"%>
<debug:debugModel/>
- Launch your web application and open firebug to see an Object with :
- request
- session
- application
- page