----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
You can use a wrapper class (delagator pattern) and make you own version of
HttpServletRequest. You just need to map all methods to the "captured"
object.
So override the service(request,response) method like so:
MyHttpServletRequest myrequest= new MyHttpServletRequest(request);
super.service(myrequest,response)
In MyHttpServletRequest most of your methods are of the pattern:
public void setX(O o) { realRequest.setX(o); }
So if you need special behaviour just plug in it.
Currently we are using Jserv and GNU JSP, and I had to do the above for some
customized functionality.
"This is an interesting question. But you have said that your application
works fine with Tomcat, so where's the problem? Tomcat is quite new, so
don't expect 1000% stability, but Tomcat evolves fast."
Good, because I am awaiting a few features before we can use it in
production. ;)
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]