> I have a JServ servlet that is processing some form data, then needs to
> return a static HTML file as a response. Is there any way to let
> Apache take
> care of making the http response? I would like to take advantage of Apache
> features, e.g. aliasing, caching, http headers (304 not-modified, ...).
>
> Is there any way to do that using JServ? I'm using Apache 1.3.4 & JServ
> 1.0b3 on win32.
>
> Franck Mangin
> FaceTime Communications
Franck,
Check out HttpServeletResponse.sendRedirect as a quick solution.
I haven't investigated it but SSI may also give you what you want as I'd
imagine the dynamic portion of the page could be hidden from Apache.
You can also set any headers you want : Java Servlet Programming by Jason
Hunter and William Crawford (from O'Reilly) discusses reading the
If-Modified-Since header and sending a 304 "Not Modified" code for
unchanged output. (In case the browser or proxy has already got a copy of
your page)
HTH
***********************************************************
Brett Knights 626-432-5767 work
[EMAIL PROTECTED] 626-355-1017 home
***********************************************************
----------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://www.working-dogs.com/>
Problems?: [EMAIL PROTECTED]