json result type with struts 2.1.8.1

2010-08-27 Thread chsekhar
I am trying to do a result type of "json" from my struts2 action. Here is the configuration I have in my code. I am using struts 2.1.8.1 on websphere server. I am using the json plugin I got with struts 2.1.8.1 Struts.xml: Struts Action: private Object jsonMod

Re: json result type with struts 2.1.8.1

2010-08-27 Thread chsekhar
I tried without body as you mentioned but no difference in the behaviour. DNewfield wrote: > > On 8/27/10 12:39 PM, chsekhar wrote: >> > > I didn't really look at the details of your message because I've got to > run, but why does that result have a

Re: json result type with struts 2.1.8.1

2010-08-27 Thread chsekhar
If I remove that it is not going to my action itself. It is going to the default action I had set in another package. Rafael Taboada wrote: > > Try deleting namespace="/" en your package tag > > On Fri, Aug 27, 2010 at 12:23 PM, chsekhar > wrote: > >&