Hello, I have tried JSP on tomcat.When an html form calls the JSP via the submit button, the jsp is called twice. I would like to know if there is some setting involved with the tomcat. I would like to get the reply asap. Paritosh [This message has been edited by Paritosh (edited December 03, 2001).]
The server has no control over how many times a request is made, so it can't be a Tomcat problem. A lot of people double-click on web pages just like they've been trained to do on desktop apps, and this is more likely your problem. How is the JSP request being made? A form submit, hyperlink, or something more exotic like JavaScript?
Customer surveys are for companies who didn't pay proper attention to begin with.
I think it might be browser specific, but I've had the following code submitting twice:
I'm not recommending you do it this way , just saying there are silly things you can do at the client side to make it all act wierd. Dave.
Tomas Nilson
Ranch Hand
Joined: Jan 14, 2002
Posts: 33
posted
0
Hey, I have had the same problem. Sometimes (say, one out of five) when I submit a form pressing a button (once) it gets executed twice on Tomcat. This works fine though when running on localhost, but not on my ISP. I really need to solve this... ANY ideas, please??! /Tom
Originally posted by Tim Holloway: The server has no control over how many times a request is made, so it can't be a Tomcat problem. A lot of people double-click on web pages just like they've been trained to do on desktop apps, and this is more likely your problem. How is the JSP request being made? A form submit, hyperlink, or something more exotic like JavaScript?