I want two HTML Buttons on on the same web page.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ruselle
    Junior Member
    • May 2004
    • 6

    #1

    I want two HTML Buttons on on the same web page.

    Hello,
    I want to place two HTML submit buttons on a dynamic web page. the buttons would be calling two different jsp's. I have tried placing the buttons into two Forms using the Form Action to call the jsp's but that is not working, can anyone help?
  • Buddha
    Senior Member
    • Mar 2004
    • 825

    #2
    Without seeing some code I'm just guessing. I would guess each button would need it's own <form> and action to call two different jsp's? How about a look at some markup?
    "Whatcha mean I shouldn't be rude to my clients?! If you want polite then there will be a substantial fee increase." - Buddha

    Comment

    • Jonathan
      Senior Member
      • Mar 2004
      • 1229

      #3
      I know this isn't helpful, but JSPs??
      Isn't that Java Server Pages?
      "How can someone be so distracted yet so focused?"
      - C

      Comment

      • Buddha
        Senior Member
        • Mar 2004
        • 825

        #4
        I know this isn't helpful, but JSPs??
        Isn't that Java Server Pages?
        I noticed that too but was just guessing their on some other server.
        "Whatcha mean I shouldn't be rude to my clients?! If you want polite then there will be a substantial fee increase." - Buddha

        Comment

        • Denver Dave
          Member
          • Sep 2004
          • 49

          #5
          2 forms should be able to initiate 2 separate pages. Does each submit button work with the other not present or is it a basic problem with the form.

          Good question though I have also wondered about 2 buttons to do two different actions. So far I have used the name and value parameters of the buttons to pass information to a script to do different things.

          Comment

          Working...