I hope someone can help:
I have a lot of expierence with java servlets, but I have come
into sort of a jam.
I am currently running apache v1.3.6 with apache jserv V1.0. I
have most everything compiled as DSOs. I
This is my problem.
I have an index.html page which has a link to a servlet. This
servlet generates a bunch of check boxes and text boses for input. It has
a submit button. This button, using POST, send the message to another
servlet.
This servlet, parses the incoming information, using the
getParamaterNames() method. I then run through the Enumeration adding
everything to a HashTable.
Next, I search the hashtable, looking for specific boxes that were
checked.
Now, I generate another page with has textareas. The servlet,
with the hashtable, works correctly. However, this is my problem.
If a user, after the servlet generates the textareas, would like
to change his input(effectively adding or decreasing the amount of text
areas) then he would hit the back button in his browser.
However, lets say two check boxes were checked. The user decided
that only one of those check boxes needed to be checked so he hit his back
button and removed on check box. He then clicks the next button. The
original page(the one with two text areas) is shown. The inofrmation does
not get reposted to my servlet.
I am not sure how to fix this problem. I am almost certain that
it is a configuration within my jserv stuff. I am pretty sure it is not
my code within the servlet.
Has anyone had this problem and know of a solution.
A brief overview of how to create the problem:
go to http://www.beersy.bu.edu/index1.html
click on the statusReports link
check a couple of boxes(I do not care how many)
click the next button
Now click the back button and remove some of your checks
click the next button
NOW YOU WILL SEE THAT THE INFORMATION IS NOT REPOSTED TO MY SERVLET
How do I fix this?
Christopher T. Beers Systems Analyst Administrator I
Office of Information Technology - Boston University
111 Cummington Street (617)353-8248
Boston, MA 02215 (617)353-6260 fax
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
READ THE FAQ!!!! <http://java.apache.org/faq/>
Archives and Other: <http://java.apache.org/main/mail.html/>
Problems?: [EMAIL PROTECTED]