File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes 2 forms in a single page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "2 forms in a single page" Watch "2 forms in a single page" New topic

2 forms in a single page

k bben

Joined: Dec 29, 2004
Posts: 1
can i have more than one form in a page?
if yes, how do i submit all of them at one shot

function f1(){


it is a html page with javascript on it .
the page is created by a servlet
[ December 29, 2004: Message edited by: k bben ]
Jeroen Wenting
Ranch Hand

Joined: Oct 12, 2000
Posts: 5093
I guess you're talking about JSPs?

yes, you can have more than one form on a page.
no, you cannot submit them all at once.

Martin Lerchster

Joined: Nov 29, 2004
Posts: 10
All information you need for one submit you should have in one form!

Why do you need the second one and why do you want to submit both?

I agree. Here's the link:
subject: 2 forms in a single page
It's not a secret anymore!