troubles with <jsp:forward />

Discussion in 'Java' started by mcraven.2@wright.edu, Jul 24, 2006.

  1. Guest

    I want more than one button on a form linking to different websites. I
    know how I can link to a different web form using javascript but I
    don't how I would submit the data in the previous form. Is it possible
    to nest forms in a webpage? So that they have different action=" "
    properties or will that fail? I tried it on a web form and got a
    failure for the inside form.

    So anyway I've tried using a forward jsp tag at the top of the same
    webform. When a button is pressed the same web form is loaded, on
    loading the jsp commands check to see what button was pressed and
    forwards to the appropiate web form. The problem I get with this set
    up is that the new web site does not show up in the address bar and
    some of my commands get mixed up on that second web form. It's like
    the commands are coming from the second web form but they are being
    addressed to the web site in the address bar. Is there another way to
    load a web page with a jsp command other than forward? If I'm not
    clear I'll try explaining again.
    , Jul 24, 2006
    #1
    1. Advertising

  2. wrote:
    > ...The problem I get with this set
    > up is that the new web site does not show up in the address bar and
    > some of my commands get mixed up on that second web form. It's like
    > the commands are coming from the second web form but they are being
    > addressed to the web site in the address bar.


    If it can be done it in (valid) HTML, it can be can recreated
    in HTML using Java. The thing is..
    a) I suspect it cannot be done in valid HTML
    b) Java programmers are the last people to ask about HTML.

    Try comp.infosystems.www.authoring.html

    Andrew T.
    Andrew Thompson, Jul 24, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Mladen Adamovic
    Replies:
    3
    Views:
    4,153
    Mladen Adamovic
    Nov 16, 2003
  2. Tony Murphy
    Replies:
    0
    Views:
    1,529
    Tony Murphy
    Feb 16, 2004
  3. ohaya
    Replies:
    0
    Views:
    4,089
    ohaya
    Jun 30, 2005
  4. qazmlp
    Replies:
    1
    Views:
    594
    Jonathan Turkanis
    Feb 15, 2004
  5. Replies:
    0
    Views:
    4,350
Loading...

Share This Page