https://bz.apache.org/bugzilla/show_bug.cgi?id=65124

--- Comment #13 from Mark Thomas <ma...@apache.org> ---
I've spent some time this afternoon looking at issue 1. Tomcat's tagPlugin
mechanism is the supported way to approach this. It lets you generate your own
optimised code for tags. It is pretty flexible so you could have one plugin per
tag or one plugin for a group of tags.

There are some example implementations in org.apache.jasper.tagplugins.jstl to
give you an idea of what is possible. The JSP samples in the examples webapp
also include some tag plugins although it is worth noting that these are not
enabled to use the plug-ins as the WEB-INF/tagPlugins.xml file is not present.

As an example of how you could reduce simple <c:set .../> calls to a single
line of Java see the sample plugin attached.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to