How to write tagx (JSPX tag libraries without java)

Adam Gent picture Adam Gent · Apr 22, 2011 · Viewed 7.6k times · Source

I can't find good documentation on how to write modern tag libraries without Java in JSPX?

Spring Roo provides lots of examples (and seems to be only project that uses tagx extensively).

I may make this another question but every time I want to not repeat myself in JSPX (DRY) I feel like have to sacrifice valuable time and go create a tag library because there are no inline macros.

I feel like I must be missing something in JSP/X.

Answer

Adam Gent picture Adam Gent · May 26, 2011

The best resource I could find on JSP Tag libraries is from the horses mouth: http://download.oracle.com/javaee/5/tutorial/doc/bnalj.html

You have to mentally convert the JSP code to JSPX.