submit multiple forms

Hi all,

I have been approached to help develop an application that will allow users to sign up for your service, (fill in forms, that will be stored in a DB, and with this information, we sign them up to the specific directories they have chosen to register with using the data they entered.

I have spent the last few days doing some research, but am still unsure what the best way to submit to multiple forms, on different webpages is. I have been told that javascript would be one way to do it, but as the whole project will be based around Java, I would prefer to do it from the JSPs that will be used to capture their information.

Any help would be much appreciated!

[697 byte] By [bronze-starDukes] at [2007-11-26 12:14:07]
# 1
document.forms[0].submit();document.forms[1].submit();document.forms[2].submit();
silverstar at 2007-7-7 14:16:19 > top of Java-index,Archived Forums,Socket Programming...
# 2

>I have been told that javascript would be one way to do it, but as the >whole project will be based around Java, I would prefer to do it from >the JSPs that will be used to capture their information.

If U wanna Submit Multiple Form Data to different Servlets / JSP At a Time it is Certain you need a client side scripting which enables you to do this JSP alone cannot help u. All u need to do is to include javascript Code within your JSP (as Javascript to extent is Platform Independent as most of the popular browsers supports it).You may go with the advice given by fellow poster jgalacambra in order to archive it through a Combination of JSP + javascript.

silverstar at 2007-7-7 14:16:19 > top of Java-index,Archived Forums,Socket Programming...