Nope...
The SetSessionTag retrieves the string from the body of the tag and sets
it as a string within the session.


"Procek, Brett" wrote:

> 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
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