RE: jstl trouble

2004-06-21 Thread Karr, David
> -Original Message- > From: Pavlikus [mailto:[EMAIL PROTECTED] > > <% > UserSessionInfo info = (UserSessionInfo) > session.getAttribute(UserSessionInfo.USER_SESSION_INFO_KEY); > > > out.println(info.getUser().getLogin()); > %> > > Later on page: > > > > > >

Re: jstl trouble

2004-06-20 Thread mike
Which scope you want the data in depends on your needs (request, session, application, database). At 11:23 PM 6/20/2004, javen fang wrote: this is in struts mailing list, and you MUST be using Struts So in struts, we avoid to use scriptlets in JSP page. All your data is prepared in struts Action

Re: jstl trouble

2004-06-20 Thread javen fang
this is in struts mailing list, and you MUST be using Struts So in struts, we avoid to use scriptlets in JSP page. All your data is prepared in struts Action --- Pavlikus <[EMAIL PROTECTED]> wrote: > Hello all. > > <% > UserSessionInfo info = (UserSessionInfo) > > session.getAttribut

Re: jstl trouble

2004-06-20 Thread Nikhil Sidhaye
Hello Pavlikus, I got the same problem. I overcome this problem with very crude method. use import jsp tag for getting appropriate classes First I create 1 instance with Then I reinitialise the info with session.getAttribute in JSP. & then you can use your methods using JSTL or simple java code.

RE: jstl trouble

2004-06-20 Thread Tim Penhey
You should be able to use the where the id of the bean is the key that had been used to set the attribute. What were you using when your tag was trying to create a new instance? Tim > -Original Message- > From: Pavlikus [mailto:[EMAIL PROTECTED] > Sent: 20 June 2004 15:22 > To: [EMAIL