It's a little off-topic (and I may have already sent this once here). I asked on tomcat-users but that list seems to get 15 questions for every answer. Hoping someone here can help.
My Struts (1.2.7) App uses a custom HttpRequest and HttpResponse. That is to say, I extend the HttpServletRequestWrapper and HttpServletResponseWrapper classes I just switched from JDK 1.4.2_06 to 1.5.0_03 and started to get deprecation warnings my extensions of these classes. The warnings stem from what the classes I am extending do. This problems are *not in my code*. As best I can figure it, the deprecated methods being called were deprecated as of servlet spec *2.1*. You wouldn't see these warnings unless you extend these classes. For grins, I tried Tomcat 5.5 (and it's servlet-api.jar) and the same thing happens. My questions are: 1) What, if anything, am I doing wrong??? 2) Why didn't I see these deprecations in the 1.4.2 JDK? Seems like I should have gotten them all along. But that would imply Tomcat 5.x isn't compliant with the 2.1 spec, and I can't believe that. I assume it's error on my part. I'm now beginning to think the HttpServletRequest/Response *interface* wasn't deprecated until the 1.5 JDK and every servlet container's implementations is now generating these warnings. I'm just wondering why the Tomcat group never fixed theirs. Again, I'm assuming I'm wrong. Deprecation snippets of the compile follow. TIA -Joe warning: [deprecation] getRealPath(java.lang.String) in javax.servlet.ServletRequest has been deprecated warning: [deprecation] isRequestedSessionIdFromUrl() in javax.servlet.http.HttpServletRequest has been deprecated warning: [deprecation] getRealPath(java.lang.String) in javax.servlet.ServletRequest has been deprecated warning: [deprecation] setStatus(int,java.lang.String) in javax.servlet.http.HttpServletResponse has been deprecated warning: [deprecation] encodeRedirectUrl(java.lang.String) in javax.servlet.http.HttpServletResponse has been deprecated warning: [deprecation] encodeUrl(java.lang.String) in javax.servlet.http.HttpServletResponse has been deprecate --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]