Skip to main content

Close
Get the best research tool on the web today,and free!
Connect with people with common interests!

saved byAyoom . on 2008-05-06

    • on 2008-05-08 Ayoomah
      in ServletOne.java we can have:

      <form action="ServletOne"> /* code processed by ServletOne */ </form>
      <form action="ServletTwo"> /* code processed by ServletTwo*/ </form>
  • on 2008-05-08 Ayoomah
    Alternatively, we can have two forms calling different Servlets. i.e.

    in the form tag, we set action attribute like this: action=ServletOne.. for the second form, we can set attribute action to call another servlet. i.e. action=ServletTwo.

    I couldn't put the codes as they dissappear when i do.
    \<form action="ServletOne\"> * code * \</form>


    \<form action="ServletTwo\"> * code * \</form>