Re: how this is working?

2013-11-24 Thread Yaragalla Muralidhar
Thank you so much Dave.

*Thanks and Regards,*
Muralidhar Yaragalla.

*http://yaragalla.blogspot.in/ *


On Mon, Nov 25, 2013 at 4:16 AM, Dave Newton  wrote:

> Request wrapper. Easy enough to look up, no?
>  On Nov 24, 2013 11:43 AM, "Yaragalla Muralidhar" <
> yaragallamur...@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/ *
> >
> >
> > On Sun, Nov 24, 2013 at 8:32 PM, Yaragalla Muralidhar <
> > yaragallamur...@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/ *
> > >
> > >
> > > On Sun, Nov 24, 2013 at 8:06 PM, Dave Newton  > >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" <
> > >> yaragallamur...@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/ *
> > >> >
> > >>
> > >
> > >
> >
>


Re: how this is working?

2013-11-24 Thread Dave Newton
Request wrapper. Easy enough to look up, no?
 On Nov 24, 2013 11:43 AM, "Yaragalla Muralidhar" 
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/ *
>
>
> On Sun, Nov 24, 2013 at 8:32 PM, Yaragalla Muralidhar <
> yaragallamur...@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/ *
> >
> >
> > On Sun, Nov 24, 2013 at 8:06 PM, Dave Newton  >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" <
> >> yaragallamur...@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/ *
> >> >
> >>
> >
> >
>


Struts 2 Testing Actions

2013-11-24 Thread Damian Blazejewski
Hello,

I have a problem executing Struts 2 action test case.
I get the following error:


*Absent Code attribute in method that is not native or abstract in class
file javax/servlet/jsp/PageContext *
I have no clue what can be wrong.

Thank you in advance for your help.

Here are my dependencies:


junit
junit
4.8.2
test



org.apache.struts
struts2-junit-plugin
${struts.version}
test



org.javassist
javassist
3.16.1-GA



javax.servlet
servlet-api
2.5
jar
test


javax.servlet.jsp
jsp-api
2.2
jar
test


Pozdrawiam/Best regards,
Damian Błażejewski
dblazejewski.com


Re: how this is working?

2013-11-24 Thread Yaragalla Muralidhar
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/ *


On Sun, Nov 24, 2013 at 8:32 PM, Yaragalla Muralidhar <
yaragallamur...@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/ *
>
>
> On Sun, Nov 24, 2013 at 8:06 PM, Dave Newton 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" <
>> yaragallamur...@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/ *
>> >
>>
>
>


RE: Problem with tutorial

2013-11-24 Thread Dave Newton
Hence the web.xml/EL question.
 On Nov 24, 2013 10:06 AM, "Michel Prévost" 
wrote:

> Thank you Bruce (the very Bruce Phillips from the example :-)), it turned
> out the web.xml file generated by Eclipse was the problem. When I replaced
> it with the one from your example, it worked like a charm!
>
> -Original Message-
> From: bphill...@ku.edu [mailto:bphill...@ku.edu]
> Sent: November-24-13 8:23 AM
> To: user@struts.apache.org
> Subject: Re: Problem with tutorial
>
> Michel:
>
>Are you using the tutorial code provided at
> https://svn.apache.org/repos/asf/struts/sandbox/trunk/struts2examples or
> are
> you coding the example yourself?
>
>If you are coding the example yourself you may want to compare your code
> and files to the example code checked out from the subversion repository
> above.
>
>   I just checked that the example code for the using tags tutorial works
> correctly under Tomcat 7.
>
> Bruce
>
>
>
> --
> View this message in context:
>
> http://struts.1045723.n5.nabble.com/Problem-with-tutorial-tp5714733p5714735.
> html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>


RE: Problem with tutorial

2013-11-24 Thread Michel Prévost
Thank you Bruce (the very Bruce Phillips from the example :-)), it turned
out the web.xml file generated by Eclipse was the problem. When I replaced
it with the one from your example, it worked like a charm!

-Original Message-
From: bphill...@ku.edu [mailto:bphill...@ku.edu] 
Sent: November-24-13 8:23 AM
To: user@struts.apache.org
Subject: Re: Problem with tutorial

Michel:

   Are you using the tutorial code provided at
https://svn.apache.org/repos/asf/struts/sandbox/trunk/struts2examples or are
you coding the example yourself?

   If you are coding the example yourself you may want to compare your code
and files to the example code checked out from the subversion repository
above.

  I just checked that the example code for the using tags tutorial works
correctly under Tomcat 7.

Bruce



--
View this message in context:
http://struts.1045723.n5.nabble.com/Problem-with-tutorial-tp5714733p5714735.
html
Sent from the Struts - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org


-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: how this is working?

2013-11-24 Thread Yaragalla Muralidhar
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/ *


On Sun, Nov 24, 2013 at 8:06 PM, Dave Newton  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" <
> yaragallamur...@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/ *
> >
>


Re: how this is working?

2013-11-24 Thread Dave Newton
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" 
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/ *
>


how this is working?

2013-11-24 Thread Yaragalla Muralidhar
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/ *


Re: Problem with tutorial

2013-11-24 Thread bphill...@ku.edu
Michel:

   Are you using the tutorial code provided at
https://svn.apache.org/repos/asf/struts/sandbox/trunk/struts2examples or are
you coding the example yourself?

   If you are coding the example yourself you may want to compare your code
and files to the example code checked out from the subversion repository
above.

  I just checked that the example code for the using tags tutorial works
correctly under Tomcat 7.

Bruce



--
View this message in context: 
http://struts.1045723.n5.nabble.com/Problem-with-tutorial-tp5714733p5714735.html
Sent from the Struts - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org