On Fri, 2003-01-17 at 18:38, Craig R. McClanahan wrote: > The key problem is that there's no method like getContentType() on the > HttpServletResponse interface, right (at least not until you get to > Servlet 2.4, where it was added)? OK, no problem ... let's add one. We > can't change the servlet API, but we *can* create a wrapper around the > response that augments the servlet API, and pass that on to the servlet > that is actually executed. Something like this:
I'm glad to hear it's being added to 2.4. This is a big deal for those of us who must format content for different front-end formats, so our tags can properly escape stuff for different formats. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
