On Mon, 7 Feb 2005 14:28:17 +0530, Sasikumar Subramanian wrote:

>Hi Marco,
>
>       I used oc4j container, which supports HTTP/1.1 protocol.
>       I think this is not a problem in container.
>       bcoz, I got the correct response when i send request to container
>thru TELNET in command prompt:
>
>    ex:    *telnet localhost 8888 <enter>
>            GET /myweb/testservlet1 http/1.1 <enter><enter>*
>
>      So this problem was caused due to the bugs in browsers(IE and
>firefox) and Httpunit.
>

That's what I get with my oc4j test installation, it misses
completely the Content-Length header, not following the
2.3-2.4 servlet spec:


GET /detailxmirko48/servlet/Sasikumar HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
Accept-Language: it
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)
Host: 192.168.3.207:8888
Connection: Keep-Alive

HTTP/1.1 200 OK
Date: Mon, 07 Feb 2005 10:22:24 GMT
Server: Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)
Connection: Close
Content-Type: text/html
Transfer-Encoding: chunked

..servlet output

POST /detailxmirko48/servlet/Sasikumar HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
Referer: http://192.168.3.207:8888/detailxmirko48/cl.htm
Accept-Language: it
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)
Host: 192.168.3.207:8888
Content-Length: 0
Connection: Keep-Alive
Cache-Control: no-cache

HTTP/1.1 100 Continue
Server: Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)
Date: Mon, 07 Feb 2005 10:34:31 GMT

HTTP/1.1 200 OK
Date: Mon, 07 Feb 2005 10:34:31 GMT
Server: Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)
Connection: Close
Content-Type: text/html
Transfer-Encoding: chunked

... servlet output

--
Marco

___________________________________________________________________________
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