Friday, July 2, 2004 05:45 AM
No, I don't believe there is any way to do this. You could write your own non-servlet class that listens on a socket and does whatever you want. You would not benefit from the container's resource management capabilities though.
Are you sure you need to do this? For example, you would never write "POST / HTTP/1.1" in the response; that appears in the request. What can't you do with the J2EE header API, from HttpServletResponse?