• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
  • Mikalai Zaikin

POPUP validation in Spring MVC

Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am using bPopup Jquery plugin for popup window in my Spring MVC project, this is great but I got stuck help me.

Here is the scenario, * When a button in a page is clicked, the pop up window is opened and the required details are entered into the fields. * when submit button is clicked in popup window, form validation is performed and then values are entered into database; but if the entered field have any error( i.e phone number is entered in place of email address) the pop up window must open to show the error.

But the popup window is not reopened to show the error.

Here is my code

My Jsp file:

My Model class .java file

My DAO Implementation class .java file

My Controller class .java file

My web.xml

My mvc-dispatcher-servlet.xml

Insertion and form validation operations are working fine but if validation fails for entered information, then the popup window must reload again with error message.
How to achieve this in spring MVC. Thanks in advance.
I don't always make ads but when I do they're tiny
a bit of art, as a gift, the permaculture playing cards
    Bookmark Topic Watch Topic
  • New Topic