Thanks... that totally sucks! I found at least five web sites that claim
the new 1.2 JSP spec allows a included servlet to modify header... of
course, the actual spec from Sun says otherwise, as you point out. 

If an included servelt can't modify headers, what's the point of
enabling flush=false anyway? Its totally useless!

Oh well, I guess creating a dynamic site that can be indexed with real
dates is impossible. Why something so obvious and basic has been
disabled in the spec is beyond me!

Jim

>>> [EMAIL PROTECTED] 06/12/02 12:28PM >>>

The new flush="false" value does *not* change the restriction in the
Servlet spec that included servlets are not allowed to affect headers
in
the response.  Therefore, Tomcat will still ignore any attempt to set
the
"Last-Modified" header inside an included JSP.

See the relevant Servlet 2.3 and JSP 1.2 specifications for more
details.

  http://java.sun.com/products/servlet/download.html 
  http://java.sun.com/products/jsp/download.html 

Craig McClanahan




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to