|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today! |
|
#1
|
|||
|
|||
|
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. WHY??? Any and all help would be greatly appreciated |
|
#2
|
||||
|
||||
|
Code code code, where is the code?????
__________________
My blog about OpenSource Databases PDF tutorials about OSS databases, DBMonster ... Please contribute to Open Source Development, fill bug reports!!! Developer Shed eSupport Commented my.ini/my.cnf (PLEASE ADD YOUR OWN CONFIG TRICK) An introduction to database normalization Natural or Surrogate key Custom ordering for your results Correlated and uncorrelated subqueries Don't turn your outer joins into inner joins |
|
#3
|
|||
|
|||
|
Check if your form really points to the second page.
<FORM action="secondPage.jsp"> 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 |
|
#4
|
|||
|
|||
|
BTW: almost sure you screwed up your action-attribute in the FORM...
|
|
#5
|
|||
|
|||
|
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 Action="nextpage.jsp" We are allowed one dumb question...right ![]() |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Java Help > JSP just reloads on submit |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|