Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > problem with index.html .(page is automatically gettin redirected to index.html)

Reply
Thread Tools

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

 
 
karthikeyavenkat
Guest
Posts: n/a
 
      03-17-2005
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...
 
Reply With Quote
 
 
 
 
kaeli
Guest
Posts: n/a
 
      03-17-2005
In article <(E-Mail Removed) >,
http://www.velocityreviews.com/forums/(E-Mail Removed) 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

 
Reply With Quote
 
 
 
 
Bryce
Guest
Posts: n/a
 
      03-17-2005
On 17 Mar 2005 12:00:21 -0800, (E-Mail Removed) (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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
problem with 'self'. behaves different on setting and gettin Michal Gabrukiewicz Ruby 6 12-01-2007 10:05 PM
Gateway Millennium machine gettin' its freak on ChrisCoaster Computer Information 0 12-12-2006 03:29 AM
gettin all pages in a website kkrish Java 5 07-18-2006 04:13 PM
GETTIN SQUIRRELLY WITH THE D60 !!! Annika1980 Digital Photography 14 05-05-2004 12:09 PM
why do i keep gettin this message.......... monique Computer Support 2 11-15-2003 05:59 AM



Advertisments