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
5:22 > To: [EMAIL PROTECTED] > Subject: jstl trouble > > > Hello all. > > <% > UserSessionInfo info = (UserSessionInfo) > session.getAttribute(UserSessionInfo.USER_SESSION_INFO_KEY); > > > out.println(info.getUser().getLogin()); > %&g

jstl trouble

2004-06-20 Thread Pavlikus
Hello all. <% UserSessionInfo info = (UserSessionInfo) session.getAttribute(UserSessionInfo.USER_SESSION_INFO_KEY); out.println(info.getUser().getLogin()); %> Later on page: Please tell me where my mistake. Also, is there ways to avoid scriptlets on my jsp? I use but