Hello
I tried what you did, but i had successful compilation
without any deprecation. And you are right that in docs on
ServletRequest.getParameter() this method does not deprecated...
mistery..:)
Andrey
----- Original Message -----
From: Jian Li <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, November 21, 1999 9:16 AM
Subject: getParameter() Deprecated?
> Hi, All,
>
> I am using JSDK2.1. I met such a warning as following:
>
> C:\JavaWebServer1.1.3\servlets\test>javac -deprecation ChatDispatch.java
> ChatDispatch.java:58: Note: The method java.lang.String
getParameter(java.lang.S
> tring) in interface javax.servlet.ServletRequest has been deprecated.
> String method = req.getParameter("method");
> ^
> Note: ChatDispatch.java uses or overrides a deprecated API. Please
consult the
> documentation for a better alternative.
> 1 warning
>
> However, according to jsdk2.1/webpages/docs/api/deprecated-list.html, it's
> not deprecated at all. What happened? Any new docs comes out?
>
>
> Best Regards,
>
> Jian
>
> **********************************************
> Name: Jian Li
> Addr: 2900 Kingstown Rd. Apt. 732
> Kingston, RI 02881
> Tel: 401-782-8974(h)/874-4579(o)
> Email: [EMAIL PROTECTED][EMAIL PROTECTED]
> URL: http://www.ele.uri.edu/~lijian
> **********************************************
>
>
___________________________________________________________________________
> 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
>
___________________________________________________________________________
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