problem with index.html .(page is automatically gettin redirected to index.html)

Discussion in 'Java' started by karthikeyavenkat, Mar 17, 2005.

  1. hi,

    i hav a web template which has pictures,Js files used for that
    template...
    suppose ther are 4 buttons in the page... when i click the first
    button,it is automaticaly getting redirected to index.html behaving
    differently where that page should go to someother page as given in
    the form action Tag..
    <BODY >
    <h3>some Question</h3>

    <form name="input" action="check.jsp" method="get">
    <INPUT TYPE="radio" NAME="answer" value="yes" checked><b>Yes</b>
    <INPUT TYPE="radio" NAME="answer" value="no"><b>No</b>
    <br>
    <br>

    <INPUT TYPE="submit"value ="GO">
    </form>

    </BODY>

    wen i click on the GO button . it is going to index.html...
    karthikeyavenkat, Mar 17, 2005
    #1
    1. Advertising

  2. karthikeyavenkat

    kaeli Guest

    In article <>,
    enlightened us with...
    > suppose ther are 4 buttons in the page... when i click the first
    > button,it is automaticaly getting redirected to index.html behaving
    > differently where that page should go to someother page as given in
    > the form action Tag..


    But there aren't 4 buttons, at least not here.

    > <form name="input" action="check.jsp" method="get">

    Are you sure check.jsp is in the SAME DIRECTORY as this page? With that exact
    spelling?

    > <INPUT TYPE="radio" NAME="answer" value="yes" checked><b>Yes</b>
    > <INPUT TYPE="radio" NAME="answer" value="no"><b>No</b>


    > <INPUT TYPE="submit"value ="GO">


    Is that a typo or...?
    Because if that's a direct copy/paste, you need a space in there before the
    word 'value'.

    > wen i click on the GO button . it is going to index.html...


    Do you have any .htaccess files set up?
    Are you using Apache and/or Tomcat?

    --
    --
    ~kaeli~
    When you choke a smurf, what color does it turn?
    http://www.ipwebdesign.net/wildAtHeart
    http://www.ipwebdesign.net/kaelisSpace
    kaeli, Mar 17, 2005
    #2
    1. Advertising

  3. karthikeyavenkat

    Bryce Guest

    On 17 Mar 2005 12:00:21 -0800, (karthikeyavenkat)
    wrote:

    >hi,
    >
    >i hav a web template which has pictures,Js files used for that
    >template...
    >suppose ther are 4 buttons in the page... when i click the first
    >button,it is automaticaly getting redirected to index.html behaving
    >differently where that page should go to someother page as given in
    >the form action Tag..
    ><BODY >
    ><h3>some Question</h3>
    >
    ><form name="input" action="check.jsp" method="get">
    ><INPUT TYPE="radio" NAME="answer" value="yes" checked><b>Yes</b>
    ><INPUT TYPE="radio" NAME="answer" value="no"><b>No</b>
    ><br>
    ><br>
    >
    ><INPUT TYPE="submit"value ="GO">
    ></form>
    >
    ></BODY>
    >
    >wen i click on the GO button . it is going to index.html...


    I don't see 4 buttons on that page.

    What does check.jsp look like?

    --
    now with more cowbell
    Bryce, Mar 17, 2005
    #3
    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. kkrish
    Replies:
    5
    Views:
    331
    Oliver Wong
    Jul 18, 2006
  2. Elie Grouchko

    Gettin detailed error information from IIS

    Elie Grouchko, Dec 11, 2005, in forum: ASP General
    Replies:
    0
    Views:
    129
    Elie Grouchko
    Dec 11, 2005
  3. why the lucky stiff
    Replies:
    0
    Views:
    103
    why the lucky stiff
    Mar 29, 2005
  4. Michal Gabrukiewicz
    Replies:
    6
    Views:
    184
    Daniel Martin
    Dec 1, 2007
  5. Adam Lee
    Replies:
    3
    Views:
    75
    Adam Lee
    Jun 10, 2009
Loading...

Share This Page