You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@jakarta.apache.org by Palle Girgensohn <gi...@partitur.se> on 2000/12/05 21:23:50 UTC

HEAD .jsp outputs entire page

Hi!

Strange thing:

When accessing the head, using the http command "HEAD", tomcat
acts just like a GET, and spits everything out. This is true
only for jsp pages, not for servlets. How come?

Just try using curl(1) with -i switch, and you'll see the
difference between jsp pages, served by tomcat, and most
anything else, incluiding servlets served by tomcat.

Setup:
apache 1.3.14, (with EAPI) mod_ssl-2.7.1
tomcat-3.2-final, FreeBSD 4.2-RELEASE.

apache serves static content. mod_jk is used to communicate
with tomcat.

Any ideas on why? I'm not sure this is a big issue, but still
it is wrong, isn't it?

/Palle

-- 
         Partitur Informationsteknik AB    
Wenner-Gren Center             +46 8 566 280 02  
113 46 Stockholm	       +46 70 785 86 02  
Sweden			       girgen@partitur.se