tags:

views:

19

answers:

0

Hi, My requirement is on clicking a button in a jsp page, it should call another jsp page and that jsp page should get some details and revert back to the first jsp page. I tried calling another jsp page using the following code :

window.showModalDialog('stopwarn.jsp', 'dialogHeight:500px; dialogWidth:500px', '')

Both jsp page will call the same servlet. My issue is when another jsp is opened two pages are getting opened as I'm calling in both jsp(by using action in form). Help me out to do this in a different way. Thanks in advance