February 5th, 2002, 11:52 PM
JSP just reloads on submit
It is late and I am tired so maybe I am just missing something so simple.
Here is my problem...
I have a jsp page that connects to a Db in order to generate a dynamic dropdown menu. Which the user then selects an item from that menu. When clicking the SUBMIT button the user is suppose to be taken to another page that again connects to the DB but this time the query is based completely on the selection made from the dropdown menu from the first page.
With all that said...when I click submit, the page just reloads, it does not go to the next page.
Any and all help would be greatly appreciated
February 6th, 2002, 04:06 AM
Code code code, where is the code?????
February 6th, 2002, 05:14 AM
Check if your form really points to the second page.
It might also help to dump the request-data in a table on the site, i think almost every jsp-book uses such an example to show how parameters work.
If not, have a look at www.coreservlets.com
February 6th, 2002, 06:10 AM
BTW: almost sure you screwed up your action-attribute in the FORM...
February 6th, 2002, 12:18 PM
Thanks for the info
You are right, I did screw up the action. Like I said, it was late and my eyes simply weren't working.
As it turns out it was VERY SIMPLE
Action"nextpage.jsp" doesn't work as well as
We are allowed one dumb question...right