Hi Rajesh,
I think u can go for nanother option. Instead of seperate submit buttons
and different forms, u can use a single form and different buttons ( nof
type BUTTON and not SUBMIT ) . Then u can write & call a function in
Javascript like say, setActions(parameter) in onClick events of each button.
U can set form actions,methods,encoding type of the form depending upon the
'parameter' and then say submit(). See the code below.
<script>
function setActions(parameter)
{
if ( parameter=='param1')
{
document.myForm.action = "http://...../..../";
document.myForm.method="post";
document.myForm.submit();
}
}
</script>
Try this.
Abhay
----- Original Message -----
From: Rajesh Kumar <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 23, 2000 11:09 PM
Subject: Multiple forms and Submit button
> IE supports Multiple forms and so multiple submit button.Thus I am able to
> call several servlets.
> But in Netscape,same html displays only one form and so a single submit
> button.
> What can be done to overcome this?
> Can any one help me..
> thanks,
> kumar.
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html