I'm using the json plugin that comes with struts 2 (json-lib-2.1.jar) and trying to follow the website to set it up.
Here's my struts.xml
<struts>
   <package name="example"  extends="json-default">
      <action name="AjaxRetrieveUser" class="actions.view.RetrieveUser">
         <result type="json"/>
      </action>
   </package>
</struts>
but I get this warning: SEVERE: Unable to find parent packages json-default
Is there something else I'm supposed to do?
Edit:
I added this method to my RetrieveUser:
public Map<String,Object> getJsonModel()
{
    return jsonModel;
}
And my struts.xml looks like this:
<struts>
  <package name="example"  extends="json-default">
     <action name="AjaxRetrieveUser" class="actions.view.RetrieveUser">
        <result type="json"/>
        <param name="root">jsonModel</param>
     </action>
  </package>
</struts>
However, I don't think the response is going from the RetrieveUser class to the javascript. I'm using firebug and no request gets sent.