On Tue, 24 Aug 1999, Howard Melman wrote:

> On Tuesday Aug 24, 1999, Jaman Burton wrote:
>
> > Does anyone out there know the correct syntax to set the Expires
> > header?  I cannot seem to get it to work correctly and cannot find any
> > examples on the internet?
>
> RFC 2616:
>....
>
> EVERYONE who writes an HTTP Servlet should have a copy of
> RFC 2616, the HTTP/1.1 spec.  Servlets are responsible for
> implementing the HTTP protocol, how can you do that without
> a copy of the spec?

Unfortunately still true; the servlet API should
be able to hide HTTP details.

In this particular problem I want to be able to tell:

ServletContext.ensureResponsesAreNotCached() during a servlet's
init() or HttpServletResponse.ensureNotCached() during doMethod()
and focus on application logic not on implementing HTTP.

What's an application environment value if the application writer
needs to be an HTTP "venerable guru" to make sure each simple UI event
such as clicking an icon has in result the call of a doGet() method in a
servlet?

> Howard
>
Cezar.

To err is human, to forgive is Not Company Policy.

___________________________________________________________________________
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