You probably have an old version of the JSDK, there was a time when that method was deprecated, but it isn't any longer.  Try getting a newer version at http://java.sun.com/products/servlet
    (*Chris*)
----- Original Message -----
Sent: Monday, July 19, 1999 11:28 AM
Subject: Deprecated API ???

What is this error? and what does it mean?
 
Note: c:\javaweberserver1.1.3\servlets\hellointro.java uses a deprecated API.  Recompile with "-deprecation" for details.
 
1 warning
 
So I recompile with -deprecation and get this error...
 
c:\javaweberserver1.1.3\servlets\hellointro.java :13: Note: The method java.lang.String getParameter(java.lang.String) in interface javax.servlet.ServletRequest has been deprecated.
    String name = req.getParameter("name");
 
Note: c:\javawebserver1.1.3\servlets\hellointro.java uses a deprecated API. Please consult the documentation for a better alternative.
 
Please help - code attached.

Reply via email to