From: <Grz...@wi...> - 2007-10-23 09:50:56
|
<br><tt><font size=2>Hi!</font></tt> <br><tt><font size=2><br> > Cool! how about built in ajax support for MVC ? ^^<br> </font></tt> <br><tt><font size=2>What do You mean ajax support? Controller can simply be called by Prototype's Ajax.Request or $('form-id').request(). It's up to You to properly define these controllers, so they can not be invoked by non-ajax requests (e.g. configure special *.ajax mapping, disallow GET requests, ...).</font></tt> <br> <br><tt><font size=2>I'm using Spring-MVC with ajax and there's only one piece of java code that knows anything about Ajax and it's not the controller.</font></tt> <br> <br><tt><font size=2>with best regards</font></tt> <br><tt><font size=2>Grzegorz Grzybek</font></tt> |