So are you saying that you can pass objects using the syntax of <%= Object
%>?
> -----Original Message-----
> From: Roger Cuddy [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 05, 2001 12:44 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Passing objects to tag-libs?
>
>
> No automatic conversion to strings occurs for expressions
> used in a tag
> attribute. Check out 'Tag attribute interpretation semantics'
> in the JSP
> spec for a complete reference.
>
> -----Original Message-----
> From: A mailing list about Java Server Pages specification
> and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Duffey, Kevin
> Sent: Tuesday, June 05, 2001 1:22 PM
> To: [EMAIL PROTECTED]
> Subject: Passing objects to tag-libs?
>
>
> Is it possible to pass in any Object other than a String to a
> taglib? I
> thought something like:
>
> <x:myTagLib attr1="<%= new Object() %>" attr2="<%= new Vector() %>"/>
>
> would be perfectly legal. As someone pointed out to me, the
> <%= %> returns a
> String type. Is there another way to pass in an object other
> than String?
> Seems odd to me since JSP turns into a servlet that it cant
> call a taglib
> (java code) with objects other than String.
>
> Thanks.
>
> ==============================================================
> =============
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
> ==============================================================
> =============
> To unsubscribe: mailto [EMAIL PROTECTED] with body:
> "signoff JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set
> JSP-INTEREST DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets