Yes, I agree. This works.  Thanks!
What about this one?

User user = new User():
session.setAttribute("user",user);

Would this work?
<sess:setattribute name="user">user</sess:setattribute>

Thanks!
Brett

-----Original Message-----
From: Peter Alfors [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 14, 2001 8:49 AM
To: [EMAIL PROTECTED]
Subject: Re: quick question


you can use the jsp:useBean tag.

<jsp:useBean id="user" scope="session" class="com.myComp.user"/>



"Procek, Brett" wrote:

> Does anyone know if it's possible to use taglibs for getting a not
> string object value back
> from a session?
>
> For example, how could I use taglibs to convert the following:
>
> <% User user = (User)session.getValue("user"); %>
>
> Thanks in advance!
> Brett

Reply via email to