tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Turner <>
Subject dynamic attributes
Date Thu, 23 Nov 2000 05:06:25 GMT

Is there any way to dynamically create attributes for JSP taglib elements?

Eg, how would I do the following:

url="/servlet/MyServlet?q=<%request.getParameter("param");%>" />

? I'd like Tomcat to first evaluate <% request.getParameter("param"); %>,
and then feed that to <util:include url="..."/>.

Cocoon ( handles the above as follows:


So every attribute also has an equivalent "nested element" form. That's
possible because Cocoon XSP taglibs are written in XSLT, whereas JSP has a
more rigid API-based model.

Is any general way of doing this?



View raw message