At 02:12 PM 1/21/99 +0000, you wrote:
A recent question on servlets made me wonder how hard it would be to implement a servlet that forwarded requests via PCGI? That is, a servlet that packaged up request input, made a PCGI request to a long-running app, and sent the response back to the browser. This would provide an alternative to the PCGI wrapper, perhaps providing better performance and avoiding stuffing authentication info in a Unix environment. Do servlets have access to the HTTP Authorization header?
Does anyone on this list have experience writing servlets and feel inclined to try wrining this thing? I think it could be pretty useful, since I think that a number of web servers support servlets.
A *long* time ago I tried my hand at writing a bobo servlet. I got it mostly working, but as I recall, I couldn't figure out how to get enough of the headers from the request, and/or stuff enough of the headers back into the response. Since that time the Servlet API has changed a couple times, I think. Maybe it's easier now. If anyone wants to make a go of it, I'll try and dig up my old code to get you started. -Amos