struts.xml:
<action name="findTspNameIdMap"
            class="cdot.oss.cmsat.gma.struts.ConfigureTspThresholdAction" method="findTspNameIdMap">
            <result name="success" type="json">
                <param name="includeProperties">result,tspNameIdMap.*</param>   
            </result> 
            <result name="error">pages/Error.jsp</result>
        </action>
Action class:
public class ConfigureTspThresholdAction extends ActionSupport implements SessionAware, ModelDriven<GmaThresholdParameter>{
    private Map<String,Object> session;
    private String operatorId;
    private Map<String,String> tspNameIdMap;
    private String result = "success";
    //private List<String> thresholdParameters;
    GmaThresholdParameter gmaThresholdParameters = new GmaThresholdParameter();
I do an AJAX call to the action, when I check in Firebug the JSON response it is: {} .
However if I do <param name="root">tspNameIdMap</param> it works but not includeProperties.
Earlier it was working but I made some code changes(not related to this above part of the code) and it stopped working. Code changes included implementing ModelDriven for a POJO.
Why is not working? Any help?
                        
SOLVED:
struts.xml:
I added
<param name="root">action</param>to my code and it solved the problem.Refer to this link from where I solved: http://blog.mattsch.com/2011/04/14/things-discovered-in-struts-2/