The following might be poor design but here's the problem:

I have a simple jsp with one servlet tag.  When I request the jsp it does a doGet to 
the servlet, which from that point on builds all of the html pages that the user would 
see.  Each page has a submit button and the same doPost processes each submit.  Each 
page also has  hidden input which I change the value depending on the page that is 
generated.  The first submit I did a getParameterNames to list all of the parameters 
passed. The hidden input name="pagecontrol" value="page1" was fine.  On that page when 
I click the submit button  and getParameterNames it lists all of the new input fields 
from the second page except "pagecontrol". Everything else is fine. But I can no 
longer use pagecontrol because it returns null.  The "pagecontrol" should show value 
of "page2".

Why isn't "pagecontrol" getting passed to the doPost a second time?

Thanks for any help,

Mike Hulse
Reynolds Metals Company

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to