Hello, any help would be much appreciated.
The basic scenario is as follows - I have a form page called form.jsp
(http://localhost/webapp/form.jsp). Upon submission, the form data is
processed by a servlet mapped to the url '/process'
(http://localhost/webapp/process). Once the servlet has completed
processing the form data, it forwards control to a results page
(http://localhost/webapp/result.jsp) via
RequestDispatcher dispatch = request.getRequestDispatcher
(forwardPath);
dispatch.forward(request, response);
My question is this - although control has been forwarded to the
results page, the browser's url is still
http://localhost/webapp/process, which is ok with me; however, if the
page is refreshed, the browser prompts for the form data to be
resubmitted and the processing is repeated (which for my application
happens to be quite substantial), rather than refreshing the contents
of the results page.
I suppose this is a minor annoyance that could be worked around by
displaying a link to the results page rather than forwarding directly
to it, but I'd rather implement the latter.
Does anyone know of a solution or workaround for this problem?
Thanks in advance,
James
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]