This week's book giveaway is in the Agile and Other Processes forum. We're giving away four copies of Software Teaming: A Mob Programming, Whole-Team Approach and have Woody Zuill and Kevin Meadows on-line! See this thread for details.
I'm trying to send a simple Ajax call to spring mvc and in return expecting an another view in the form ftl template. Below is my code trying to debug and error getting tried through F12 Developer Tools. Struck as unable to determine the issue. If someone who can see any fault in code please give me a clue. Thanks
"ajaxTest" is an another ftl (Freemarker template) file. Is it something wrong with ftl file and ajax call ? Please comment your ideas.
Sep 17, 2017 12:12:46 PM org.springframework.web.servlet.DispatcherServlet noHandlerFound
WARNING: No mapping found for HTTP request with URI [/Freemarker_SpringMVC_example/user/user/MyAjaxCall] in DispatcherServlet with name 'spring'
I'm unsure from where the extra user is added to /user/user/MyAjaxCall. This trace comes on console when I click Save button on the form. Expecting this to be as [/Freemarker_SpringMVC_example/user/MyAjaxCall].
Spring config in in attachment but cant attach either txt nor xml file. Hence pasting here.
Your "MyAjaxCall" method, which accepts 3 parameters, your 3rd parameter is not mapped with any annotation.
Either removed it or marked it with some annotation.
Thanks a lot for your great time and effort to respond my post and It helps me. May I know is it mandatory to map aall parameter to an Annotation. Order is mapped to Client_Call from Ajax as a JSON String. May I ask, it should be something related to JSON format Annotation that we have to tell to Spring MVC ? Could you please show me a clue so that I can continue from there ?