Here's some suggestions, I can't say for certain that they'll work, but I
think they should...
> > 1. How do I expire a servlet after the view has
> > changed?
If it's using http, then you can set headers to tell the browser not to
cache it. For http 1.0, use Pragma no-cache, and expires -1, and for
http1.1 use expires 1.1 and another header that I can't remember for
certain, but I think is Cache-Control, with an attribute of never, or none
- you should be able to find out exactly in a book, or from the http1.1
specification/ other resources online
> How do I make myProg as the context?
If you're using Java Web server, set up some serlet aliases - you could
even call my Prog as http://XXXX:XXXX/index.html if you wanted to!
> > 3. How do I append html code to a servlet that was
> > displayed in the previous view?
I don't think you can do this - the back function is controled by the
browser from it's cache - so unless you're coding the browser, there's
nothing you can add, so far as I know
> > Look at the method HttpServletRequest.getSession().
You should get the correct sessions so long as you're browser is
automatically handling the cookies correctly (which it should if it's one
of the big ones) - you shouldn't need to handle the cookies yourself at
all - Java's session management should do it for itself
Hope some of this helps,
Catherine
___________________________________________________________________________
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