Hi, I have written a class for validating datas and I am calling this method for validating the "from" and "to" date fields of a form(MyFirstForm) in an Action's execute method. I want to 1) display error in the first jsp itself when the validation fails. 2) pop up a dialog with values fetched from data base between the dates if the validation passes. The first part was done easily by throwing errors and displaying the same. How can I get a pop up dialog ( say model dialog) when the validation succeeds.
I have written one more jsp which can be used for displaying in the popup window. But how can I get a pop up model dialog?