tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Bauman <nixnix...@yahoo.com>
Subject Detect servlet API? (was Bug Tracking -- note)
Date Fri, 28 Jul 2000 14:51:32 GMT
Is there a clean way to detect the servlet API and use
the appropriate call? Or should the older APIs go
unsupported?

--- Geoff Soutter <geoff@whitewolf.com.au> wrote:
Maybe it was designed pre 2.2 servlet API where there
was no
getContextPath() method. => pre 2.2 servlets generally
will only run in the
root context, ahh well.. it's pretty easy to port if
you have the source,
just add "getContextPath() + " wherever there was
previously
"getServletPath()"...



=====
# Nick Bauman
# Technical Programmer
# http://webhelp.com
# real software, real code, real time

__________________________________________________
Do You Yahoo!?
Kick off your party with Yahoo! Invites.
http://invites.yahoo.com/

Mime
View raw message