aspose file tools*
The moose likes Servlets and the fly likes HTTP Vesion Implemented by Servlet 2.3 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "HTTP Vesion Implemented by Servlet 2.3" Watch "HTTP Vesion Implemented by Servlet 2.3" New topic
Author

HTTP Vesion Implemented by Servlet 2.3

vijay saraf
Ranch Hand

Joined: Jan 08, 2005
Posts: 141
Hello All,

I want to know the version of http implemented by servlet 2.3( i am thinking so because servlet implemets HttpServlet).even i am not sure that http version depends on servlet version or not.if it depends on servlet container please tell me which version is used by tomcat4 .


Thanks
Vijay Saraf.
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

As stated in the spec :

The minimum required version of the HTTP specification that a container must implement is HTTP/1.0.
It is strongly suggested that containers implement the HTTP/1.1 specification as well.


There will be restrictions for containers supporting only HTTP/1.0.
For example :

In containers that support only HTTP/1.0, only the doGet, doHead and doPost methods are supported, as HTTP/1.0 does not define the PUT, DELETE, OPTIONS, and TRACE methods.


Tomcat4 does support HTTP/1.1.


[My Blog]
All roads lead to JavaRanch
vijay saraf
Ranch Hand

Joined: Jan 08, 2005
Posts: 141
Thanks.

Vijay Saraf
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: HTTP Vesion Implemented by Servlet 2.3