Hi,

You can have a method sub(), which inturn calls submit.

Have multiple hrefs (wherever you want to invoke diff servlets).

On click of this href call the sub() method.

Hope this helps.

Regards
Subbu

>From: sunil mallya <[EMAIL PROTECTED]>
>Reply-To: "A mailing list for discussion about Sun Microsystem's Java
>        Servlet API Technology." <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Multiple submits within a form
>Date: Tue, 15 Aug 2000 04:06:56 -0700
>
>Hello all,
>        I have a form . In that form there is a link
>and a submit button. Now depending on what i click, it
>should take me to two different servlets . Now is that
>possible within a form? if so how  ?
>
>thanks in advance
>sunil
>
>
>
>__________________________________________________
>Do You Yahoo!?
>Yahoo! Mail – Free email you can access from anywhere!
>http://mail.yahoo.com/
>
>___________________________________________________________________________
>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

________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

___________________________________________________________________________
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

Reply via email to