File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes How to handle response code 100 in servlet. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "How to handle response code 100 in servlet." Watch "How to handle response code 100 in servlet." New topic
Author

How to handle response code 100 in servlet.

Jim Hill
Greenhorn

Joined: May 17, 2006
Posts: 3
Hi,

I am a beginner in java servlet. I want to know how to process a request which has a "Expect: 100-Continue" header in my servlet. I am using JBoss 3.2.7 as my app server.

Thanks,

JH
Jeroen T Wenting
Ranch Hand

Joined: Apr 21, 2006
Posts: 1847
you don't. That sort of thing is up to the server.


42
Jim Hill
Greenhorn

Joined: May 17, 2006
Posts: 3
I see. So it is up to tomcat config which is embedded in jboss. Any idea how that works?
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

You would need to dig into the interal code for Tomcat.

An application developer shouldn't normally need to concern him/herself with the low level details of the HTTP protocol.

Out of curiosity, why do you ask?
Are you building a custom client?


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Jim Hill
Greenhorn

Joined: May 17, 2006
Posts: 3
Thanks.

Yes, I am trying to build a custom client as a prototype.
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

One way to stop the chunking is to send a request with HTTP/1.0 instead of HTTP/1.1.

I ran into this issue while working with Apache Axis for C++.
At the time, Axis (client end) wasn't dealing well with the chunking.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to handle response code 100 in servlet.
 
Similar Threads
Anyone got 100% in SCJP 5??
Salary Expectation for 2 yrs exp J2EE
how to send 100's of textfields data to a servlet?
using libtags
Servlet Instance