I'm confused.  In the 1st paragraph you say the second servlet
returns the result page and the third servlet returns an HTML
page.  In the 2d paragraph you seem to be saying the third
servlet is returning the results page.

What, exactly, is the the nature of the first, second, and third
pages?

What is returned that you wish to cache?

Where is the caching taking place?

Are you utilizing sessions?

What is the code behind your PREVIOUS and NEXT controls?

Cheers!
Mark

----- Original Message -----
From: "Joshua Howell" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 17, 2001 2:20 PM
Subject: Cache Control


> All,
>   I have one servlet that generates a page in which an applet
is loaded.
> The user then fills in request data and the applet
> tunnels data to a second servlet for processing.  A result is
returned to
> the applet (tunneling) and if the user chooses to proceed then
a third
> servlet generates an HTML page for the user to view.
>
>   Everything works correctly the first time through.  However,
when the user
> is finished viewing the result page and the user selects the
BACK button on
> the browser the query applet comes up again.  The user enters
different
> information into the applet and submits it.  The second servlet
does some
> processing and tunnels back a response to the applet.  When the
user
> proceeds to the result page the browser brings up the the
result page from
> the first query.  I believe the results page from the query is
being cached.
>
>   I would like to keep the results page generated by the 3rd
servlet cached
> because there may be many pages a user can view...selecting
NEXT or PREVIOUS
> at the bottom of the results page to see more results.
>
>   If I tell the browser not to cache the results page then
multiple queries
> works fine...but PREVIOUS and the BACK button do not perform
correctly
> because the page isn't cached.
>
>   Any ideas on how to correct my problem.
>
>
> Thanks,
> Joshua
>
>
_________________________________________________________________
__________
> 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
>

___________________________________________________________________________
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