Hi, I was going through tomcat source code. (Specifically ApplicationDispatcher.java). The way HttpServletRequestWrapper is used there, puzzled me. What is the intent of all the methods of HttpServletRequestWrapper class in servlet api? Specifically HttpServletRequestWrapper's setRequest method looks like exposed only for container writers. It will never work if develoepers use this method in their filter to wrap the request (for something like url rewriting). What do you think is the intent of exposing this method to public?
I was actually thinking if its possible to write Url rewriter (like mod_rewrite) using J2EE API. (request.forward does actually the same thing, but its container controlled). Thanks, Unmesh --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org