> Initially when i don't have in my session
>
> it is working if i write getters and setters for user object in my action
> class
Exactly, because the action is pushed onto the value stack automatically.
You might want to read the short section on the Value Stack / OGNL on the
freely available
Thanks Dave it is working
On Wed, Aug 20, 2008 at 4:06 PM, Dave Newton <[EMAIL PROTECTED]> wrote:
> --- On Wed, 8/20/08, raveendra wrote:
> > I have a user java bean object in my session; it has getter
> > and setter for roleId.I have the following code in my jsp.
> > Here I am trying to load dif
t;ravindra" <[EMAIL PROTECTED]>
> > An: user@struts.apache.org
> > Betreff: struts 2.0.11.2 problem
>
> > Hi all,
> >
> >
> >
> > I have a user java bean object in my session; it has getter
> > and
> >
your user is in the session not on the value stack therefore you should try
this:
/Stephan
Original-Nachricht
> Datum: Wed, 20 Aug 2008 15:11:51 +0530
> Von: "ravindra" <[EMAIL PROTECTED]>
> An: user@struts.apache.org
> Betreff: struts
--- On Wed, 8/20/08, raveendra wrote:
> I have a user java bean object in my session; it has getter
> and setter for roleId.I have the following code in my jsp.
> Here I am trying to load different images Based on the condition.
>
>
Try with the OGNL escape around the entire expression:
%{user
Hi all,
I have a user java bean object in my session; it has getter and
setter for roleId.I have the following code in my jsp.Here I am trying to
load different images
Based on the condition.
I think the syntax for test condition has changed in this
Hi all,
I have a user java bean object in my session; it has getter and
setter for roleId.I have the following code in my jsp.Here I am trying to
load different images
Based on the condition.
I think the syntax for test condition has changed in t
7 matches
Mail list logo