"Web Development with JavaServer Pages" shown at  http://www.taglib.com/ is
a pretty good book.
The site also has some links to other taglib sites.

HTH,
    Pete

"Procek, Brett" wrote:

> If I'm understanding you correctly, then what you have to use a
> 'cooperating tag' which can create a new variable which can then be used
> anywhere inside your JSP file.  Ultimately it could be used like the
> following.
>
> <test:createVariable name="x" value="Hello World"/>
> <%=x%>  // this would send "Hello World" to your browser for display.
>
> Does anyone know of a good online reference on how to do this?  I own
> the book "Professional JSP", which I recommend to anyone doing serious
> JSP developement.
>
> Brett
>
>
>
> -----Original Message-----
> From: Thomas Förster [mailto:[EMAIL PROTECTED]]
> Sent: Monday, May 21, 2001 2:54 AM
> To: taglibs
> Subject: How to assign contents of a tag to a Java-variable?
>
> Hi!
>
> I need to assign the "contents" of a tag to a local Java-variable.
> Let's say I have an attribute like
>
> <app:attribute name="userName"/>
>
> I want to define a variable which gets the value of this attribute.
>
> <% String user = "???value of the attribute???"; %>
>
> How can I do this?
>
> Thomas
begin:vcard 
n:;
x-mozilla-html:FALSE
org:<BR><IMG SRC="http://www.irista.com/logo/irista.gif";><BR><BR><FONT Color=#000080><FONT SIZE=2><B>Bringing Vision to Your Supply Chain
adr:;;;;;;
version:2.1
end:vcard

Reply via email to