Sunday, July 15, 2007

Debugging Struts Information

Some time ago I posted an article about debugging information in a JSP page. Struts tags have an interesting tag with almost the same functionality I wrote before.

It is very simple to use. All you need, is add the tag below to your code, provided all the jstl information are correct (in web.xml and/or standard.jar and/or jstl.jar).


<%@ taglib prefix="s" uri="/struts-tags" %>
...
<s:debug/>

No comments: