Re: struts 2.0.11.2 problem

2008-08-20 Thread Stephan Schröder
> 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

Re: struts 2.0.11.2 problem

2008-08-20 Thread raveendra
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

Re: struts 2.0.11.2 problem

2008-08-20 Thread raveendra
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 > >

Re: struts 2.0.11.2 problem

2008-08-20 Thread Stephan Schröder
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

Re: struts 2.0.11.2 problem

2008-08-20 Thread Dave Newton
--- 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

struts 2.0.11.2 problem

2008-08-20 Thread raveendra
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

struts 2.0.11.2 problem

2008-08-20 Thread ravindra
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