> -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:
>
>
>
>
>
>
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
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
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.
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
5 matches
Mail list logo