Servlet API lacking?
--------------------
Brief examination of the source for Tomcat 4.1 leads me to believe that though sendError(int) does provide a way for communicating informational responses in the 1xx range -- which incidently aren't error conditions -- that later attempts to communicate additional 1xx or the final 200 response are not supported, and result in an IllegalStateException or IOException or some such. Without writing code directly against Tomcat's own API to gain access to the underlying TCP socket connection (rather than against the more portable Servlet API), I'm not seeing a way of sending multiple interim responses to the UA. Is Servlet API 2.3 really lacking this feature, or did I just miss it somewhere? If so, is this feature planned for future versions of the Servlet API, and is there an interim work-around?




Dan,


As you've discovered, this is a limitation of the servlet API. Sun provides an email address for servlet API feedback, it'd be worth sending this stuff to them - this is something that would be very useful for a future release.

I'm not aware of any usable workarounds.

Mike


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



Reply via email to