Win a copy of Java by Comparison (eBook) this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Spring boot with Ajax,Jquery and Modal form  RSS feed

Ranch Hand
Posts: 189
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ranchers,

i am learning spring boot, i have a jsp page where i have a button on click i have modal form i need to insert the data into the database MySql, but i am failing with the error(object,object)
can some one please help me here are my piece of code

the jsp has the following code:

i have copied the jquery into the js folder.

in controller i have :

has the  getters and setters for experience and course.

when i am running this code it is not forwarding to the URL and getting error(object,object) in alert
not sure if something needs to be added in POM.xml or anything needs to be removed from these files, thanks.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!