Hi there, I've noticed that the 2.2 spec includes a lot of extra methods on ServletResponse to control the caching of the response. However, there is no method to get the value of what is currently in the cache. I'd like to see such a method added. I believe such a method would make the caching more flexible and complete in general, but in particular I believe it would make RequestDispatcher.include() much more useful for advanced servlet authors. For example, you could do things like call rd.include(), grab the value of the response cache, do some operations on it (eg filtering, conversion from XML to HTML, etc) and then clear the cache and write the modified value back to the response. Currently to perform operations on included data I need to create a URL connection from one servlet to another, and manually include the response data, even when they are running in the same servlet context - which I think is a pretty silly situation. Anyone on the list have some comments? Cheers Geoff ------------------------------------------------------ Geoff Soutter mailto:[EMAIL PROTECTED] Senior Software Engineer http://www.whitewolf.com.au Whitewolf Online phone:+61 (0)2 9211 9357 ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
