Re: json data are not passed in Stuts action

2012-11-26 Thread Lukasz Lenart
2012/11/23 Stephan Schreck : > Finally i made it work, it seems that the problem was the missing annotation > @Action(interceptorRefs = { @InterceptorRef("json") }) . You can use @InterceptorRef("json") > Now i have to understand why my real javascript does not work. > I might continue in this th

Re: json data are not passed in Stuts action

2012-11-23 Thread Stephan Schreck
Finally i made it work, it seems that the problem was the missing annotation @Action(interceptorRefs = { @InterceptorRef("json") }) . Now i have to understand why my real javascript does not work. I might continue in this thread. Thank you for your help. On 11/23/2012 9:29 AM, Lukasz Lenart w

Re: json data are not passed in Stuts action

2012-11-22 Thread Lukasz Lenart
2012/11/22 Stephan Schreck : > So the issue still remains, why does it not work when i use the annotations. In the first step would you configure a normal result (as jsp) and check if that works ? And if you specify @ParentPackage why you adding interceptor into struts.xml ? Could you show the who

Re: json data are not passed in Stuts action

2012-11-22 Thread Stephan Schreck
il.com Subject: Re: json data are not passed in Stuts action Date: Thu, 22 Nov 2012 06:20:38 +0530 To: user@struts.apache.org Stephan, Are you sure your data is getting passed in request body as you are making an Ajax call ? On 21-Nov-2012, at 9:16 PM, Stephan Schreck wrote: Hello, i ha

RE: json data are not passed in Stuts action

2012-11-21 Thread Martin Gainty
\..*,_.* .. /success.jsp/error.jsp . Martin > CC: user@struts.apache.org > From: nikhilesh.sov...@gmail.com > Subject: Re: json data are not passed in Stuts action > Date: Thu, 22