On Saturday, September 22, 2001, at 11:21  am, Purav J. Parekh wrote:

> Hi,
> I am in the process of upgrading my servlet engine from Jserv to
> Tomcat 3.3
> The installation and configuartion was smooth.
> Tomcat 3.3 implements Servlet API 2.2 specification whereas my app
> runs on servlet 2.1.
> I have used ServletContext().getServlet() in all my pages. This
> method is deprecated in Servlet 2.2. It returns null. So all my
> pages throw error.
> What's the solution?.
> Is it possible for Tomcat to refer Servlet 2.1 API..maybe by
> replacing some JAR file..otherwise it will be a hell of a tedious
> task to change code in almost 200 pages.
>
> Please Help.
>

Nope... Rewrite your servlets... :(

        Pier

BTW, I suggest going with 4.0... Anyway...

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to