I have a jsp page(a view). It is actually a popup to a main-page. This popup is to email people. The popup has a 'Send' button. On clicking 'Send' button, I want the popup to close immediately(which I can accomplish via javascript...onclick submit form and close popup) and leave the processing to the server. I am using Struts, so the ActionServlet will direct it to an Action perform() wherein I have Stateless session beans going to handle the emailing of input data.

Raj Thota

use the javascript to submit the form and immediately after submitting the form use window.close() method of javascript.

As soon as you submit the form, the request will be sent to Action class. so you need not to worry about the processing

I've worked on similar problem using struts, its working fine for me.

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact