s Mailing List
> Betreff: Re: RE: Adding Json to existing action
> can you show us your action mapping and the relevant parts of your code?
>
> musachy
>
> On Tue, Oct 27, 2009 at 8:50 AM, Michael Varlik wrote:
> > I just noticed a mistake I made. When adding the paramet
" but it only
returns "success".
Original-Nachricht
> Datum: Tue, 27 Oct 2009 12:56:51 -0700 (PDT)
> Von: Struts Two
> An: Struts Users Mailing List
> Betreff: Re: RE: Adding Json to existing action
> What I meant was either to use Json Pl
did wrong. Any hints are appreciated.
>
> Cheers,
> Markus
>
> Original-Nachricht
>> Datum: Tue, 27 Oct 2009 16:09:25 +0100
>> Von: "Michael Varlik"
>> An: "Struts Users Mailing List" ,
>> user@struts.apache.org
>&g
hints are appreciated.
>
> Cheers,
> Markus
>
> Original-Nachricht
> > Datum: Tue, 27 Oct 2009 16:09:25 +0100
> > Von: "Michael Varlik"
> > An: "Struts Users Mailing List" ,
> user@struts.apache.org
> > Betreff: Re:
t; An: "Struts Users Mailing List" ,
> user@struts.apache.org
> Betreff: Re: RE: Adding Json to existing action
> Thanks for that hint. I have extended my mapping by adding " name=root>jsonData" to my action mapping's result tag. Now I don't
> get any
&g
be wrong here?
Cheers,
Markus
Original-Nachricht
> Datum: Tue, 27 Oct 2009 09:39:01 -0400
> Von: "Mike Baranski"
> An: "\'Struts Users Mailing List\'"
> Betreff: RE: Adding Json to existing action
> I do this to pass parameters, usi
struts...@yahoo.ca]
>Sent: Tuesday, October 27, 2009 9:24 AM
>To: Struts Users Mailing List
>Subject: Re: Adding Json to existing action
>
>You can either use Json plugin or write your own customized result type
>that return JSON.
>
>--- On Tue, 10/27/09, Michael Varlik wr
You can either use Json plugin or write your own customized result type that
return JSON.
--- On Tue, 10/27/09, Michael Varlik wrote:
> From: Michael Varlik
> Subject: Adding Json to existing action
> To: user@struts.apache.org
> Received: Tuesday, October 27, 2009, 1:07 PM
>
Hi,
I need to call an existing struts action within my application from a
JavaScript function. I thought it might be possible to create an additional
entry in the struts mapping file like this:
and then call the action with "getDataJson.action".
Unfortunately, when I try this a NullPointerEx
9 matches
Mail list logo