Saying something "doesn't work" doesn't work :) . That tells us nothing. What are you doing? What happens?
I tried setting up simple examples based on the documentation in the Wiki, and it worked fine. In addition, there are some additional JSON changes in 2.1.2 beta which I've also been able to use successfully. > -----Original Message----- > From: xianwinwin [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 17, 2008 9:22 AM > To: user@struts.apache.org > Subject: struts2 and JSON integration problem (plugin) > > > Hi all, > > I'm trying to integrate Struts2 with JSON; what is needed > beside a reference to the JAR? > I'm trying to use the plugin and for some reason when I > extends 'json-default' in the xml file - the action doesn't > work (it works when extending struts-default). > > I'm using eclipse, I added the jsonplugin-0.30 to my lib and > added the a reference in the project (java build path). > > Am I misssing something? should I have done anything with the > web.xml? > > thanks for any help > > my xml: > > <struts> > <package name="json-support" namespace="/" > extends="json-default"> > <action name="testComplete" > class="com.struts.test.TestCompletionAction"> > <result type="json"/> > </action> > </package> > </struts> > > -- > View this message in context: > http://www.nabble.com/struts2-and-JSON-integration-problem-%28 plugin%29-tp17917051p17917051.html > Sent from the Struts - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]