tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Damian Fauth <>
Subject Re: <jsp:useBean> weirdness in custom tags
Date Thu, 15 Jun 2000 22:21:38 GMT
So I WAS missing something obvious! Thanks Hans


Hans Bergsten wrote:
> It may be a bug that Tomcat doesn't report what the problem is in a
> sensible way, but it seems like what you want to accomplish should be
> done without using <jsp:useBean> in the first place.
> >From your example, I take it that what you want is to make one element
> from the array (or other collection) specified by the "values" attribute
> available as a variable with the name specified by the "name" attribute
> within the body of the action element. To do this, use a TagExtraInfo
> class for your tag handler, that declares that this variable should be
> generated by the JSP container. Then you don't have to use <jsp:useBean>
> at all. See the JSP 1.1 spec and the API docs for details about TagExtraInfo.
> Hans
> --
> Hans Bergsten 
> Gefion Software
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

View raw message