<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Spring MVC and AJAX with JSON</title>
	<atom:link href="http://loianegroner.com/2010/02/spring-mvc-and-ajax-with-json/feed/" rel="self" type="application/rss+xml" />
	<link>http://loianegroner.com/2010/02/spring-mvc-and-ajax-with-json/</link>
	<description>My development notes</description>
	<lastBuildDate>Wed, 01 Feb 2012 12:14:11 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: JavaPins</title>
		<link>http://loianegroner.com/2010/02/spring-mvc-and-ajax-with-json/comment-page-1/#comment-1410</link>
		<dc:creator>JavaPins</dc:creator>
		<pubDate>Sun, 08 Jan 2012 05:43:24 +0000</pubDate>
		<guid isPermaLink="false">http://loianegroner.com/?p=237#comment-1410</guid>
		<description>&lt;strong&gt;Spring MVC and AJAX with JSON &#124; Loiane Groner...&lt;/strong&gt;

Thank you for submitting this cool story - Trackback from JavaPins...</description>
		<content:encoded><![CDATA[<p><strong>Spring MVC and AJAX with JSON | Loiane Groner&#8230;</strong></p>
<p>Thank you for submitting this cool story &#8211; Trackback from JavaPins&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chandana</title>
		<link>http://loianegroner.com/2010/02/spring-mvc-and-ajax-with-json/comment-page-1/#comment-1186</link>
		<dc:creator>Chandana</dc:creator>
		<pubDate>Mon, 10 Oct 2011 10:21:21 +0000</pubDate>
		<guid isPermaLink="false">http://loianegroner.com/?p=237#comment-1186</guid>
		<description>Thanks for this post. It helped me a lot..  strait to the point... </description>
		<content:encoded><![CDATA[<p>Thanks for this post. It helped me a lot..  strait to the point&#8230; </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Loiane</title>
		<link>http://loianegroner.com/2010/02/spring-mvc-and-ajax-with-json/comment-page-1/#comment-1129</link>
		<dc:creator>Loiane</dc:creator>
		<pubDate>Mon, 26 Sep 2011 18:53:40 +0000</pubDate>
		<guid isPermaLink="false">http://loianegroner.com/?p=237#comment-1129</guid>
		<description>Hi Nagesh,

Please take a look at this example:
http://loianegroner.com/2010/05/how-to-populate-ext-js-combobox-using-spring-controller/

Thanks!</description>
		<content:encoded><![CDATA[<p>Hi Nagesh,</p>
<p>Please take a look at this example:<br />
<a href="http://loianegroner.com/2010/05/how-to-populate-ext-js-combobox-using-spring-controller/" rel="nofollow">http://loianegroner.com/2010/05/how-to-populate-ext-js-combobox-using-spring-controller/</a></p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nagesh</title>
		<link>http://loianegroner.com/2010/02/spring-mvc-and-ajax-with-json/comment-page-1/#comment-1097</link>
		<dc:creator>Nagesh</dc:creator>
		<pubDate>Tue, 20 Sep 2011 15:00:12 +0000</pubDate>
		<guid isPermaLink="false">http://loianegroner.com/?p=237#comment-1097</guid>
		<description>I am trying to populate the combo box values dynamically through spring 3 mvc controller in extjs
But in store of combox ,results are not uploading.

	var formatStore = new Ext.data.Store({
		proxy: new Ext.data.HttpProxy({
			url: &#039;selectAllFormats.html&#039;,method:&#039;GET&#039;
		}),
		reader: new Ext.data.JsonReader({
			root:&#039;formats&#039;
		},
		[{name: &#039;formatId&#039;}, 
		 {name: &#039;formatDcscription&#039;}
		])
	});

items: [
	                                    {
	                                        xtype: &#039;label&#039;,
	                                        width: 160,
	                                        text: &#039;Format:&#039;
	                                    },
	                                       	new Ext.form.ComboBox(
	                                     	{
	                                     		id: &#039;formatCombo&#039;,
		                                        waitMsgTarget: true,
		                                        name: &#039;formatList&#039;,
		                                        valueField: &#039;formatId&#039;,
		                                        displayField: &#039;formatDcscription&#039;,
		                                        store: formatStore,
		                                        editable: false,
		                                        typeAhead: true,
		                                        //hiddenName : &#039;formatType&#039;,
		    	                                mode: &#039;remote&#039;,
		                                		anchor: &#039;100%&#039;,
		                                		//allowBlank: false,
		                                		//multiSelect: true,
		                                		//renderTo: &#039;multiSelectCombo&#039;,
		                                       
		                                       // autoLoad:true,
		                                        emptyText:&#039;Select a format...&#039;,
		                                        //triggerAction: &#039;all&#039;,
		                                        //onTriggerClick:function()
		                                        //{
		                                        	//getFormat(formatStore);
		                                        //},
		                                        forceSelection: false ,
		                                        selectOnFocus:true
	                                     	})    
	                                ]



@RequestMapping(value=&quot;/selectAllFormats.html&quot;, method = RequestMethod.GET)
		public @ResponseBody Map loadFormats() {

			HashMap&lt;String, List&gt; modelMap = new HashMap&lt;String,List&gt;();
			modelMap.put(&quot;formats&quot;, formatJsonService.getAllformats());
			System.out.println(&quot;Model Map==&quot;+modelMap);
			System.out.println(&quot;Formats==&quot;+modelMap.get(&quot;formats&quot;));
			System.out.println(&quot;Format Id==&quot;+modelMap.get(&quot;formats&quot;).get(1).getFormatId());
			

			return modelMap;
		}

the above is the flow..please revert back to me..with the solution..</description>
		<content:encoded><![CDATA[<p>I am trying to populate the combo box values dynamically through spring 3 mvc controller in extjs<br />
But in store of combox ,results are not uploading.</p>
<p>	var formatStore = new Ext.data.Store({<br />
		proxy: new Ext.data.HttpProxy({<br />
			url: &#8216;selectAllFormats.html&#8217;,method:&#8217;GET&#8217;<br />
		}),<br />
		reader: new Ext.data.JsonReader({<br />
			root:&#8217;formats&#8217;<br />
		},<br />
		[{name: 'formatId'},<br />
		 {name: 'formatDcscription'}<br />
		])<br />
	});</p>
<p>items: [<br />
	                                    {<br />
	                                        xtype: 'label',<br />
	                                        width: 160,<br />
	                                        text: 'Format:'<br />
	                                    },<br />
	                                       	new Ext.form.ComboBox(<br />
	                                     	{<br />
	                                     		id: 'formatCombo',<br />
		                                        waitMsgTarget: true,<br />
		                                        name: 'formatList',<br />
		                                        valueField: 'formatId',<br />
		                                        displayField: 'formatDcscription',<br />
		                                        store: formatStore,<br />
		                                        editable: false,<br />
		                                        typeAhead: true,<br />
		                                        //hiddenName : 'formatType',<br />
		    	                                mode: 'remote',<br />
		                                		anchor: '100%',<br />
		                                		//allowBlank: false,<br />
		                                		//multiSelect: true,<br />
		                                		//renderTo: 'multiSelectCombo',</p>
<p>		                                       // autoLoad:true,<br />
		                                        emptyText:'Select a format...',<br />
		                                        //triggerAction: 'all',<br />
		                                        //onTriggerClick:function()<br />
		                                        //{<br />
		                                        	//getFormat(formatStore);<br />
		                                        //},<br />
		                                        forceSelection: false ,<br />
		                                        selectOnFocus:true<br />
	                                     	})<br />
	                                ]</p>
<p>@RequestMapping(value=&#8221;/selectAllFormats.html&#8221;, method = RequestMethod.GET)<br />
		public @ResponseBody Map loadFormats() {</p>
<p>			HashMap&lt;String, List&gt; modelMap = new HashMap&lt;String,List&gt;();<br />
			modelMap.put(&#8220;formats&#8221;, formatJsonService.getAllformats());<br />
			System.out.println(&#8220;Model Map==&#8221;+modelMap);<br />
			System.out.println(&#8220;Formats==&#8221;+modelMap.get(&#8220;formats&#8221;));<br />
			System.out.println(&#8220;Format Id==&#8221;+modelMap.get(&#8220;formats&#8221;).get(1).getFormatId());</p>
<p>			return modelMap;<br />
		}</p>
<p>the above is the flow..please revert back to me..with the solution..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Loiane</title>
		<link>http://loianegroner.com/2010/02/spring-mvc-and-ajax-with-json/comment-page-1/#comment-1075</link>
		<dc:creator>Loiane</dc:creator>
		<pubDate>Wed, 14 Sep 2011 15:15:02 +0000</pubDate>
		<guid isPermaLink="false">http://loianegroner.com/?p=237#comment-1075</guid>
		<description>Hi Deepak,
This feature is only available on Ext JS 4.</description>
		<content:encoded><![CDATA[<p>Hi Deepak,<br />
This feature is only available on Ext JS 4.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lisa Johnston</title>
		<link>http://loianegroner.com/2010/02/spring-mvc-and-ajax-with-json/comment-page-1/#comment-1014</link>
		<dc:creator>Lisa Johnston</dc:creator>
		<pubDate>Thu, 25 Aug 2011 00:52:11 +0000</pubDate>
		<guid isPermaLink="false">http://loianegroner.com/?p=237#comment-1014</guid>
		<description>Thanks a million Loiane, that worked a treat ! :) 
I better read up more on JQuery.

Lisa</description>
		<content:encoded><![CDATA[<p>Thanks a million Loiane, that worked a treat ! <img src='http://loianegroner.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
I better read up more on JQuery.</p>
<p>Lisa</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Deepak Dhiman</title>
		<link>http://loianegroner.com/2010/02/spring-mvc-and-ajax-with-json/comment-page-1/#comment-1012</link>
		<dc:creator>Deepak Dhiman</dc:creator>
		<pubDate>Wed, 24 Aug 2011 12:25:49 +0000</pubDate>
		<guid isPermaLink="false">http://loianegroner.com/?p=237#comment-1012</guid>
		<description>I want to use the JSON object in jsp&#039;s for each loop
e.g.
success: function(data) {
		
var returnGraphData = JSON.parse(data.graphDataMap);
...
}

and data has the  department  , graphDataMap list

know how to set department list to jsp&#039;s for each loop</description>
		<content:encoded><![CDATA[<p>I want to use the JSON object in jsp&#8217;s for each loop<br />
e.g.<br />
success: function(data) {</p>
<p>var returnGraphData = JSON.parse(data.graphDataMap);<br />
&#8230;<br />
}</p>
<p>and data has the  department  , graphDataMap list</p>
<p>know how to set department list to jsp&#8217;s for each loop</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Loiane</title>
		<link>http://loianegroner.com/2010/02/spring-mvc-and-ajax-with-json/comment-page-1/#comment-1009</link>
		<dc:creator>Loiane</dc:creator>
		<pubDate>Wed, 24 Aug 2011 11:37:31 +0000</pubDate>
		<guid isPermaLink="false">http://loianegroner.com/?p=237#comment-1009</guid>
		<description>Hi Lisa,
In JQuery, you have ot use the function $.getJSON to receive a JSON form the server.
This way JQuery knows you are expecting a JSON object.</description>
		<content:encoded><![CDATA[<p>Hi Lisa,<br />
In JQuery, you have ot use the function $.getJSON to receive a JSON form the server.<br />
This way JQuery knows you are expecting a JSON object.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lisa Johnston</title>
		<link>http://loianegroner.com/2010/02/spring-mvc-and-ajax-with-json/comment-page-1/#comment-1006</link>
		<dc:creator>Lisa Johnston</dc:creator>
		<pubDate>Wed, 24 Aug 2011 06:53:27 +0000</pubDate>
		<guid isPermaLink="false">http://loianegroner.com/?p=237#comment-1006</guid>
		<description>Actually the website won&#039;t allow me to submit with the braces:
bean name=&quot;jsonView&quot; class=&quot;org.springframework.web.servlet.view.json.JsonView&quot;/</description>
		<content:encoded><![CDATA[<p>Actually the website won&#8217;t allow me to submit with the braces:<br />
bean name=&#8221;jsonView&#8221; class=&#8221;org.springframework.web.servlet.view.json.JsonView&#8221;/</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lisa Johnston</title>
		<link>http://loianegroner.com/2010/02/spring-mvc-and-ajax-with-json/comment-page-1/#comment-1005</link>
		<dc:creator>Lisa Johnston</dc:creator>
		<pubDate>Wed, 24 Aug 2011 06:52:40 +0000</pubDate>
		<guid isPermaLink="false">http://loianegroner.com/?p=237#comment-1005</guid>
		<description>Sorry I forgot to paste the views.xml
</description>
		<content:encoded><![CDATA[<p>Sorry I forgot to paste the views.xml</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lisa Johnston</title>
		<link>http://loianegroner.com/2010/02/spring-mvc-and-ajax-with-json/comment-page-1/#comment-1004</link>
		<dc:creator>Lisa Johnston</dc:creator>
		<pubDate>Wed, 24 Aug 2011 06:51:44 +0000</pubDate>
		<guid isPermaLink="false">http://loianegroner.com/?p=237#comment-1004</guid>
		<description>Hi Loiane,

I&#039;m having some trouble with jsonView.

My problem is the browser is attempting to open the json results as a file, rather than calling the JQuery success function.

I am new to JQuery and JsonView - so I&#039;m not sure if i&#039;m missing something.

Here is my ajax call:
	$(&#039;#appForm&quot;&#039;).ajaxForm(
	{
			type: &#039;POST&#039;,
			target: &#039;/app/testSubmit.json&#039;
	}		
	);

Here is my controller:

	@RequestMapping(&quot;/testSubmit.json&quot;)
	public ModelAndView testSubmit(HttpServletRequest request,
			HttpServletResponse response, AppCommand command)
			throws ServletException, IOException {

		Map model = new HashMap();
		model.put(&quot;success&quot;, true);
		return new ModelAndView(&quot;jsonView&quot;, model);

	}

Here is my views.xml:


So basically it goes into the correct method in the controller, and then returns a jsonView which in turn attempts to open the result as a json file with the correct model data within the browser.

Any tips where I&#039;m going wrong ?
Thanks,
Lisa</description>
		<content:encoded><![CDATA[<p>Hi Loiane,</p>
<p>I&#8217;m having some trouble with jsonView.</p>
<p>My problem is the browser is attempting to open the json results as a file, rather than calling the JQuery success function.</p>
<p>I am new to JQuery and JsonView &#8211; so I&#8217;m not sure if i&#8217;m missing something.</p>
<p>Here is my ajax call:<br />
	$(&#8216;#appForm&#8221;&#8216;).ajaxForm(<br />
	{<br />
			type: &#8216;POST&#8217;,<br />
			target: &#8216;/app/testSubmit.json&#8217;<br />
	}<br />
	);</p>
<p>Here is my controller:</p>
<p>	@RequestMapping(&#8220;/testSubmit.json&#8221;)<br />
	public ModelAndView testSubmit(HttpServletRequest request,<br />
			HttpServletResponse response, AppCommand command)<br />
			throws ServletException, IOException {</p>
<p>		Map model = new HashMap();<br />
		model.put(&#8220;success&#8221;, true);<br />
		return new ModelAndView(&#8220;jsonView&#8221;, model);</p>
<p>	}</p>
<p>Here is my views.xml:</p>
<p>So basically it goes into the correct method in the controller, and then returns a jsonView which in turn attempts to open the result as a json file with the correct model data within the browser.</p>
<p>Any tips where I&#8217;m going wrong ?<br />
Thanks,<br />
Lisa</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam</title>
		<link>http://loianegroner.com/2010/02/spring-mvc-and-ajax-with-json/comment-page-1/#comment-876</link>
		<dc:creator>Sam</dc:creator>
		<pubDate>Tue, 05 Jul 2011 08:25:32 +0000</pubDate>
		<guid isPermaLink="false">http://loianegroner.com/?p=237#comment-876</guid>
		<description>i answer myself:

  net.sf.json-lib  json-lib-ext-spring  1.0.2</description>
		<content:encoded><![CDATA[<p>i answer myself:</p>
<p>  net.sf.json-lib  json-lib-ext-spring  1.0.2</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam</title>
		<link>http://loianegroner.com/2010/02/spring-mvc-and-ajax-with-json/comment-page-1/#comment-875</link>
		<dc:creator>Sam</dc:creator>
		<pubDate>Tue, 05 Jul 2011 07:59:46 +0000</pubDate>
		<guid isPermaLink="false">http://loianegroner.com/?p=237#comment-875</guid>
		<description>Hello Loiane, how do I add the jar as a dependency in the pom.xml?</description>
		<content:encoded><![CDATA[<p>Hello Loiane, how do I add the jar as a dependency in the pom.xml?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rupali Giri</title>
		<link>http://loianegroner.com/2010/02/spring-mvc-and-ajax-with-json/comment-page-1/#comment-795</link>
		<dc:creator>Rupali Giri</dc:creator>
		<pubDate>Wed, 04 May 2011 13:26:49 +0000</pubDate>
		<guid isPermaLink="false">http://loianegroner.com/?p=237#comment-795</guid>
		<description>Thanks ...it was great help. Also , would like to metion that for Spring 2.5 version , with maven below is required to get jsonView working.  
 
  						net.sf.json-lib
  						json-lib-ext-spring
  						1.0.2
						</description>
		<content:encoded><![CDATA[<p>Thanks &#8230;it was great help. Also , would like to metion that for Spring 2.5 version , with maven below is required to get jsonView working.  </p>
<p>  						net.sf.json-lib<br />
  						json-lib-ext-spring<br />
  						1.0.2</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Loiane</title>
		<link>http://loianegroner.com/2010/02/spring-mvc-and-ajax-with-json/comment-page-1/#comment-790</link>
		<dc:creator>Loiane</dc:creator>
		<pubDate>Tue, 03 May 2011 17:22:06 +0000</pubDate>
		<guid isPermaLink="false">http://loianegroner.com/?p=237#comment-790</guid>
		<description>Hi Shilpi,
You have to return a JSON from the controller with a success atribute so you can return something to the form. Don&#039;t return a simple view, just a json.</description>
		<content:encoded><![CDATA[<p>Hi Shilpi,<br />
You have to return a JSON from the controller with a success atribute so you can return something to the form. Don&#8217;t return a simple view, just a json.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jaspreet</title>
		<link>http://loianegroner.com/2010/02/spring-mvc-and-ajax-with-json/comment-page-1/#comment-742</link>
		<dc:creator>jaspreet</dc:creator>
		<pubDate>Fri, 11 Mar 2011 12:19:49 +0000</pubDate>
		<guid isPermaLink="false">http://loianegroner.com/?p=237#comment-742</guid>
		<description>Please provide example using extjs to design form and spring as framework</description>
		<content:encoded><![CDATA[<p>Please provide example using extjs to design form and spring as framework</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shilpi</title>
		<link>http://loianegroner.com/2010/02/spring-mvc-and-ajax-with-json/comment-page-1/#comment-740</link>
		<dc:creator>Shilpi</dc:creator>
		<pubDate>Thu, 10 Mar 2011 13:43:48 +0000</pubDate>
		<guid isPermaLink="false">http://loianegroner.com/?p=237#comment-740</guid>
		<description>Hi Loiane...your posts regarding extjs and Spring are really helpful..I am trying to create a small project where I take request input in the form of Extjs Form , submit it to Spring 3 Controller and send a JSON response back in the form of Extjs Grid. Values submitted through the Extjs Form successfully reaches the Controller , but the return view does not get redirected to Extjs Grid and at the FE it gets stuck at the Form Submit button with the Wait message of extjs Form page.Kindly help.</description>
		<content:encoded><![CDATA[<p>Hi Loiane&#8230;your posts regarding extjs and Spring are really helpful..I am trying to create a small project where I take request input in the form of Extjs Form , submit it to Spring 3 Controller and send a JSON response back in the form of Extjs Grid. Values submitted through the Extjs Form successfully reaches the Controller , but the return view does not get redirected to Extjs Grid and at the FE it gets stuck at the Form Submit button with the Wait message of extjs Form page.Kindly help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rajnish</title>
		<link>http://loianegroner.com/2010/02/spring-mvc-and-ajax-with-json/comment-page-1/#comment-712</link>
		<dc:creator>rajnish</dc:creator>
		<pubDate>Sat, 26 Feb 2011 06:29:27 +0000</pubDate>
		<guid isPermaLink="false">http://loianegroner.com/?p=237#comment-712</guid>
		<description>thanks a lot for this example. Its  really really helpful 
don&#039;t forget to download all jar file in total 7 jars are there.</description>
		<content:encoded><![CDATA[<p>thanks a lot for this example. Its  really really helpful<br />
don&#8217;t forget to download all jar file in total 7 jars are there.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mm_newtoJson</title>
		<link>http://loianegroner.com/2010/02/spring-mvc-and-ajax-with-json/comment-page-1/#comment-642</link>
		<dc:creator>mm_newtoJson</dc:creator>
		<pubDate>Wed, 26 Jan 2011 12:41:49 +0000</pubDate>
		<guid isPermaLink="false">http://loianegroner.com/?p=237#comment-642</guid>
		<description>any ideas why spring is adding &quot;JSONObject&quot; in the response when I return ModelAndView from my controller?
{&quot;JSONObject&quot;:{&quot;custDetails&quot;:{&quot;customerId&quot;:&quot;11&quot;,&quot;customerName&quot;:&quot;CustName&quot;,&quot;addressLine1&quot;:&quot;Andover&quot;,&quot;city&quot;:&quot;LA&quot;,&quot;state&quot;:&quot;CA&quot;}}}

Iam adding my jsonObject to the ModelAndView and returing it.
modelAndView.addObject(cust.toJsonObject()); The json structure is changing because of this and Im not able to traverse properly in the java script.</description>
		<content:encoded><![CDATA[<p>any ideas why spring is adding &#8220;JSONObject&#8221; in the response when I return ModelAndView from my controller?<br />
{&#8220;JSONObject&#8221;:{&#8220;custDetails&#8221;:{&#8220;customerId&#8221;:&#8221;11&#8243;,&#8221;customerName&#8221;:&#8221;CustName&#8221;,&#8221;addressLine1&#8243;:&#8221;Andover&#8221;,&#8221;city&#8221;:&#8221;LA&#8221;,&#8221;state&#8221;:&#8221;CA&#8221;}}}</p>
<p>Iam adding my jsonObject to the ModelAndView and returing it.<br />
modelAndView.addObject(cust.toJsonObject()); The json structure is changing because of this and Im not able to traverse properly in the java script.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mm_newtoJson</title>
		<link>http://loianegroner.com/2010/02/spring-mvc-and-ajax-with-json/comment-page-1/#comment-640</link>
		<dc:creator>mm_newtoJson</dc:creator>
		<pubDate>Tue, 25 Jan 2011 09:21:22 +0000</pubDate>
		<guid isPermaLink="false">http://loianegroner.com/?p=237#comment-640</guid>
		<description>bean name=&quot;jsonView&quot; class=&quot;org.springframework.web.servlet.view.json.JsonView&quot;

Somehow the above text was missing from my previous posting.</description>
		<content:encoded><![CDATA[<p>bean name=&#8221;jsonView&#8221; class=&#8221;org.springframework.web.servlet.view.json.JsonView&#8221;</p>
<p>Somehow the above text was missing from my previous posting.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mm_newtoJson</title>
		<link>http://loianegroner.com/2010/02/spring-mvc-and-ajax-with-json/comment-page-1/#comment-639</link>
		<dc:creator>mm_newtoJson</dc:creator>
		<pubDate>Tue, 25 Jan 2011 09:19:37 +0000</pubDate>
		<guid isPermaLink="false">http://loianegroner.com/?p=237#comment-639</guid>
		<description>to resolve the jsonView you can add the following to applicationContext
    

When you instantiate ModelAndView in the controller you can do
ModelAndView  modelAndView = new ModelAndView(&quot;jsonView&quot;);</description>
		<content:encoded><![CDATA[<p>to resolve the jsonView you can add the following to applicationContext<br />
    </p>
<p>When you instantiate ModelAndView in the controller you can do<br />
ModelAndView  modelAndView = new ModelAndView(&#8220;jsonView&#8221;);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vinay</title>
		<link>http://loianegroner.com/2010/02/spring-mvc-and-ajax-with-json/comment-page-1/#comment-627</link>
		<dc:creator>Vinay</dc:creator>
		<pubDate>Wed, 19 Jan 2011 11:42:46 +0000</pubDate>
		<guid isPermaLink="false">http://loianegroner.com/?p=237#comment-627</guid>
		<description>You need json lib also depencies file like







•jakarta commons-lang 2.5
•jakarta commons-beanutils 1.8.0
•jakarta commons-collections 3.2.1
•jakarta commons-logging 1.1.1
•ezmorph 1.0.6</description>
		<content:encoded><![CDATA[<p>You need json lib also depencies file like</p>
<p>•jakarta commons-lang 2.5<br />
•jakarta commons-beanutils 1.8.0<br />
•jakarta commons-collections 3.2.1<br />
•jakarta commons-logging 1.1.1<br />
•ezmorph 1.0.6</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Loiane</title>
		<link>http://loianegroner.com/2010/02/spring-mvc-and-ajax-with-json/comment-page-1/#comment-444</link>
		<dc:creator>Loiane</dc:creator>
		<pubDate>Tue, 16 Nov 2010 19:03:03 +0000</pubDate>
		<guid isPermaLink="false">http://loianegroner.com/?p=237#comment-444</guid>
		<description>@gaurav
You need to get spring-json lib - jar file</description>
		<content:encoded><![CDATA[<p>@gaurav<br />
You need to get spring-json lib &#8211; jar file</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gaurav</title>
		<link>http://loianegroner.com/2010/02/spring-mvc-and-ajax-with-json/comment-page-1/#comment-434</link>
		<dc:creator>gaurav</dc:creator>
		<pubDate>Mon, 08 Nov 2010 00:16:02 +0000</pubDate>
		<guid isPermaLink="false">http://loianegroner.com/?p=237#comment-434</guid>
		<description>I am getting some exception while doing this
java.lang.ClassNotFoundException: net.sf.json.spring.web.servlet.view.JsonView
Please reply it&#039;s urgent</description>
		<content:encoded><![CDATA[<p>I am getting some exception while doing this<br />
java.lang.ClassNotFoundException: net.sf.json.spring.web.servlet.view.JsonView<br />
Please reply it&#8217;s urgent</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ona</title>
		<link>http://loianegroner.com/2010/02/spring-mvc-and-ajax-with-json/comment-page-1/#comment-293</link>
		<dc:creator>Ona</dc:creator>
		<pubDate>Thu, 26 Aug 2010 21:17:39 +0000</pubDate>
		<guid isPermaLink="false">http://loianegroner.com/?p=237#comment-293</guid>
		<description>Excellent. I was looking for something to simple to get started. Do you have the complete project for distribution? Thanks.</description>
		<content:encoded><![CDATA[<p>Excellent. I was looking for something to simple to get started. Do you have the complete project for distribution? Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mohammed Shariq</title>
		<link>http://loianegroner.com/2010/02/spring-mvc-and-ajax-with-json/comment-page-1/#comment-266</link>
		<dc:creator>Mohammed Shariq</dc:creator>
		<pubDate>Tue, 20 Jul 2010 09:24:15 +0000</pubDate>
		<guid isPermaLink="false">http://loianegroner.com/?p=237#comment-266</guid>
		<description>Thanks for this post I was able to fix my problem using your post. One question regarding this why cant we directly add the jsonView bean in the main configuration file ?</description>
		<content:encoded><![CDATA[<p>Thanks for this post I was able to fix my problem using your post. One question regarding this why cant we directly add the jsonView bean in the main configuration file ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pavel Kral</title>
		<link>http://loianegroner.com/2010/02/spring-mvc-and-ajax-with-json/comment-page-1/#comment-215</link>
		<dc:creator>Pavel Kral</dc:creator>
		<pubDate>Thu, 27 May 2010 08:16:39 +0000</pubDate>
		<guid isPermaLink="false">http://loianegroner.com/?p=237#comment-215</guid>
		<description>There is also GSON library,http://code.google.com/p/google-gson/ which give you more control for (de)serialization of objects (it help to tune json manipulation if you use inheritance etc.) Personally I prefer this library.</description>
		<content:encoded><![CDATA[<p>There is also GSON library,<a href="http://code.google.com/p/google-gson/" rel="nofollow">http://code.google.com/p/google-gson/</a> which give you more control for (de)serialization of objects (it help to tune json manipulation if you use inheritance etc.) Personally I prefer this library.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark R</title>
		<link>http://loianegroner.com/2010/02/spring-mvc-and-ajax-with-json/comment-page-1/#comment-203</link>
		<dc:creator>Mark R</dc:creator>
		<pubDate>Wed, 12 May 2010 10:26:35 +0000</pubDate>
		<guid isPermaLink="false">http://loianegroner.com/?p=237#comment-203</guid>
		<description>Hi,

May I know, what does the 

[modelMap.put(&quot;rows&quot;, service.generateColumns());]

service.generateColumns() looks like?</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>May I know, what does the </p>
<p>[modelMap.put("rows", service.generateColumns());]</p>
<p>service.generateColumns() looks like?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jose Huizar</title>
		<link>http://loianegroner.com/2010/02/spring-mvc-and-ajax-with-json/comment-page-1/#comment-183</link>
		<dc:creator>Jose Huizar</dc:creator>
		<pubDate>Sun, 11 Apr 2010 19:23:19 +0000</pubDate>
		<guid isPermaLink="false">http://loianegroner.com/?p=237#comment-183</guid>
		<description>Very good article. Thanks for taking the time for doing this.</description>
		<content:encoded><![CDATA[<p>Very good article. Thanks for taking the time for doing this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: aries satriana</title>
		<link>http://loianegroner.com/2010/02/spring-mvc-and-ajax-with-json/comment-page-1/#comment-130</link>
		<dc:creator>aries satriana</dc:creator>
		<pubDate>Fri, 26 Feb 2010 07:40:58 +0000</pubDate>
		<guid isPermaLink="false">http://loianegroner.com/?p=237#comment-130</guid>
		<description>prefer use XStream and jettison :).
Anyway good article .

Rgds,
AR</description>
		<content:encoded><![CDATA[<p>prefer use XStream and jettison <img src='http://loianegroner.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .<br />
Anyway good article .</p>
<p>Rgds,<br />
AR</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Served from: loianegroner.com @ 2012-02-07 23:51:55 -->
