Hi All,
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.
Error in
IDE console:
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.
What is wrong in my code?
Thanks