I know about this purgatory...In my book I read about
"jsp:useBean"  then I read about
"session.getAttribute" I kinda forgot about the first
one and have been using the 2nd one and it has not
worked for a DAM!

thanks for the clairification.
Rich


--- JM <[EMAIL PROTECTED]> wrote:
> Yes, you are correct.
> However, using the second approach will get yourself
> a ticket to scriptlet
> purgatory.
> 
> JM
> 
> > -----Original Message-----
> > From: Richard Diaz [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, May 20, 2002 7:18 PM
> > To: Struts Users Mailing List
> > Subject: useBean v.s. session.getAttribute
> >
> >
> > in JSP what's the difference in using:
> >
> > <jsp:useBean id="MyScore" scope="session"
> > class="Score" />
> >
> > vs
> >
> > Score MyScore =
> > (Score)session.getAttribute("MyScore");
> >
> > if i understand correctly, don't these two entries
> do
> > the same thing? Does the 2nd one destroy the
> previous
> > data or something?
> >
> > thanks!
> > Rich
> >
> > __________________________________________________
> > Do You Yahoo!?
> > LAUNCH - Your Yahoo! Music Experience
> > http://launch.yahoo.com
> >
> > --
> > To unsubscribe, e-mail:
> >
> <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 
> 
> 
> --
> To unsubscribe, e-mail:  
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 


__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to