tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jon Skeet" <jon.sk...@peramon.com>
Subject getServletPath - changed values between 2.0 and 2.2?
Date Fri, 29 Sep 2000 13:40:37 GMT
It appears that HttpRequest.getServletPath has changed between servlet
API 2.0 and 2.2 - 2.2 has getContextPath which (I presume) needs to be
prepended to getServletPath to get the 2.0 version of getServletPath.

Is there any way of doing this portably? I'd like people to be able to
use our servlet in either normal JServ or Tomcat...

Jon

Mime
View raw message