Title: RE: Servlets and HTML forms

Just make the button on 2 different forms but displayed on the same page


                      ,,                    Stephane DeCoeli Cote
                    `  >                  [EMAIL PROTECTED]
 ||                  ~                 || w (925) 730-3717
|||=oOOo=====oOOo=||| 
 ||             \  /||\  /            ||  
                  \/ || \/         
                     /\            

    -----Original Message-----
    From:   Oksana Kochubey [SMTP:[EMAIL PROTECTED]]
    Sent:   Friday, August 13, 1999 11:17 AM
    To:     [EMAIL PROTECTED]
    Subject:        Servlets and HTML forms

    Hi everyone,

    I have a question. I have two submit buttons on my HTML form which need to
    envoke two different servlets. How can I write two <form action .. >
    statements in my HTML to differentiate between two actions?

    <form action="/servlet/ServletName" method="post">   // ????

    <td WIDTH=10% align=right><input type="submit" taborder="24" tabindex="24"
    title="CONTINUE" name="CONTINUE" value="CONTINUE"></td>

    <td WIDTH=10% align=left><input type="submit" taborder="24" tabindex="24"
    title="FINISH" name="FINISH" value="FINISH"></td>



    Thanks,

    Oksana

    ___________________________________________________________________________
    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