You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Yaragalla Muralidhar <ya...@gmail.com> on 2013/11/24 14:52:13 UTC
how this is working?
Hi,
I have the following property in my action class
private BookDto book=new BookDto();
in my jsp when i use EL as follows i am able to get the value of the
property but i am not able to understand how?
${book.property}
The EL checks only in the scopes for attributes so is book kept as
attribute in some scope?
*Thanks and Regards,*
Muralidhar Yaragalla.
*http://yaragalla.blogspot.in/ <http://yaragalla.blogspot.in/>*
Re: how this is working?
Posted by Yaragalla Muralidhar <ya...@gmail.com>.
Thank you so much Dave.
*Thanks and Regards,*
Muralidhar Yaragalla.
*http://yaragalla.blogspot.in/ <http://yaragalla.blogspot.in/>*
On Mon, Nov 25, 2013 at 4:16 AM, Dave Newton <da...@gmail.com> wrote:
> Request wrapper. Easy enough to look up, no?
> On Nov 24, 2013 11:43 AM, "Yaragalla Muralidhar" <
> yaragallamurali@gmail.com>
> wrote:
>
> > I am not sure but if anybody could clarify please clarify whether it is a
> > request wrapper or responce wrapper?
> >
> > *Thanks and Regards,*
> > Muralidhar Yaragalla.
> >
> > *http://yaragalla.blogspot.in/ <http://yaragalla.blogspot.in/>*
> >
> >
> > On Sun, Nov 24, 2013 at 8:32 PM, Yaragalla Muralidhar <
> > yaragallamurali@gmail.com> wrote:
> >
> > > Hi Dave,
> > > are u sure that it is a response wrapper? I guess it should be a
> > > request wrapper? Is my guess wrong?
> > >
> > > *Thanks and Regards,*
> > > Muralidhar Yaragalla.
> > >
> > > *http://yaragalla.blogspot.in/ <http://yaragalla.blogspot.in/>*
> > >
> > >
> > > On Sun, Nov 24, 2013 at 8:06 PM, Dave Newton <davelnewton@gmail.com
> > >wrote:
> > >
> > >> Is it publicly exposed?
> > >>
> > >> It works because S2 has a custom response wrapper that exposes the
> value
> > >> stack to EL evaluation.
> > >>
> > >> Dave
> > >> On Nov 24, 2013 8:52 AM, "Yaragalla Muralidhar" <
> > >> yaragallamurali@gmail.com>
> > >> wrote:
> > >>
> > >> > Hi,
> > >> > I have the following property in my action class
> > >> >
> > >> > private BookDto book=new BookDto();
> > >> >
> > >> >
> > >> > in my jsp when i use EL as follows i am able to get the value of the
> > >> > property but i am not able to understand how?
> > >> >
> > >> > ${book.property}
> > >> >
> > >> > The EL checks only in the scopes for attributes so is book kept as
> > >> > attribute in some scope?
> > >> >
> > >> > *Thanks and Regards,*
> > >> > Muralidhar Yaragalla.
> > >> >
> > >> > *http://yaragalla.blogspot.in/ <http://yaragalla.blogspot.in/>*
> > >> >
> > >>
> > >
> > >
> >
>
Re: how this is working?
Posted by Dave Newton <da...@gmail.com>.
Request wrapper. Easy enough to look up, no?
On Nov 24, 2013 11:43 AM, "Yaragalla Muralidhar" <ya...@gmail.com>
wrote:
> I am not sure but if anybody could clarify please clarify whether it is a
> request wrapper or responce wrapper?
>
> *Thanks and Regards,*
> Muralidhar Yaragalla.
>
> *http://yaragalla.blogspot.in/ <http://yaragalla.blogspot.in/>*
>
>
> On Sun, Nov 24, 2013 at 8:32 PM, Yaragalla Muralidhar <
> yaragallamurali@gmail.com> wrote:
>
> > Hi Dave,
> > are u sure that it is a response wrapper? I guess it should be a
> > request wrapper? Is my guess wrong?
> >
> > *Thanks and Regards,*
> > Muralidhar Yaragalla.
> >
> > *http://yaragalla.blogspot.in/ <http://yaragalla.blogspot.in/>*
> >
> >
> > On Sun, Nov 24, 2013 at 8:06 PM, Dave Newton <davelnewton@gmail.com
> >wrote:
> >
> >> Is it publicly exposed?
> >>
> >> It works because S2 has a custom response wrapper that exposes the value
> >> stack to EL evaluation.
> >>
> >> Dave
> >> On Nov 24, 2013 8:52 AM, "Yaragalla Muralidhar" <
> >> yaragallamurali@gmail.com>
> >> wrote:
> >>
> >> > Hi,
> >> > I have the following property in my action class
> >> >
> >> > private BookDto book=new BookDto();
> >> >
> >> >
> >> > in my jsp when i use EL as follows i am able to get the value of the
> >> > property but i am not able to understand how?
> >> >
> >> > ${book.property}
> >> >
> >> > The EL checks only in the scopes for attributes so is book kept as
> >> > attribute in some scope?
> >> >
> >> > *Thanks and Regards,*
> >> > Muralidhar Yaragalla.
> >> >
> >> > *http://yaragalla.blogspot.in/ <http://yaragalla.blogspot.in/>*
> >> >
> >>
> >
> >
>
Re: how this is working?
Posted by Yaragalla Muralidhar <ya...@gmail.com>.
I am not sure but if anybody could clarify please clarify whether it is a
request wrapper or responce wrapper?
*Thanks and Regards,*
Muralidhar Yaragalla.
*http://yaragalla.blogspot.in/ <http://yaragalla.blogspot.in/>*
On Sun, Nov 24, 2013 at 8:32 PM, Yaragalla Muralidhar <
yaragallamurali@gmail.com> wrote:
> Hi Dave,
> are u sure that it is a response wrapper? I guess it should be a
> request wrapper? Is my guess wrong?
>
> *Thanks and Regards,*
> Muralidhar Yaragalla.
>
> *http://yaragalla.blogspot.in/ <http://yaragalla.blogspot.in/>*
>
>
> On Sun, Nov 24, 2013 at 8:06 PM, Dave Newton <da...@gmail.com>wrote:
>
>> Is it publicly exposed?
>>
>> It works because S2 has a custom response wrapper that exposes the value
>> stack to EL evaluation.
>>
>> Dave
>> On Nov 24, 2013 8:52 AM, "Yaragalla Muralidhar" <
>> yaragallamurali@gmail.com>
>> wrote:
>>
>> > Hi,
>> > I have the following property in my action class
>> >
>> > private BookDto book=new BookDto();
>> >
>> >
>> > in my jsp when i use EL as follows i am able to get the value of the
>> > property but i am not able to understand how?
>> >
>> > ${book.property}
>> >
>> > The EL checks only in the scopes for attributes so is book kept as
>> > attribute in some scope?
>> >
>> > *Thanks and Regards,*
>> > Muralidhar Yaragalla.
>> >
>> > *http://yaragalla.blogspot.in/ <http://yaragalla.blogspot.in/>*
>> >
>>
>
>
Re: how this is working?
Posted by Yaragalla Muralidhar <ya...@gmail.com>.
Hi Dave,
are u sure that it is a response wrapper? I guess it should be a request
wrapper? Is my guess wrong?
*Thanks and Regards,*
Muralidhar Yaragalla.
*http://yaragalla.blogspot.in/ <http://yaragalla.blogspot.in/>*
On Sun, Nov 24, 2013 at 8:06 PM, Dave Newton <da...@gmail.com> wrote:
> Is it publicly exposed?
>
> It works because S2 has a custom response wrapper that exposes the value
> stack to EL evaluation.
>
> Dave
> On Nov 24, 2013 8:52 AM, "Yaragalla Muralidhar" <
> yaragallamurali@gmail.com>
> wrote:
>
> > Hi,
> > I have the following property in my action class
> >
> > private BookDto book=new BookDto();
> >
> >
> > in my jsp when i use EL as follows i am able to get the value of the
> > property but i am not able to understand how?
> >
> > ${book.property}
> >
> > The EL checks only in the scopes for attributes so is book kept as
> > attribute in some scope?
> >
> > *Thanks and Regards,*
> > Muralidhar Yaragalla.
> >
> > *http://yaragalla.blogspot.in/ <http://yaragalla.blogspot.in/>*
> >
>
Re: how this is working?
Posted by Dave Newton <da...@gmail.com>.
Is it publicly exposed?
It works because S2 has a custom response wrapper that exposes the value
stack to EL evaluation.
Dave
On Nov 24, 2013 8:52 AM, "Yaragalla Muralidhar" <ya...@gmail.com>
wrote:
> Hi,
> I have the following property in my action class
>
> private BookDto book=new BookDto();
>
>
> in my jsp when i use EL as follows i am able to get the value of the
> property but i am not able to understand how?
>
> ${book.property}
>
> The EL checks only in the scopes for attributes so is book kept as
> attribute in some scope?
>
> *Thanks and Regards,*
> Muralidhar Yaragalla.
>
> *http://yaragalla.blogspot.in/ <http://yaragalla.blogspot.in/>*
>