The methods used are not supported or is being phased out, read the API
documentation for the new implementation
----- Original Message -----
From: Haris Berbic <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 25, 2000 8:48 AM
Subject: DEPRACATION PROBLEM
> I am working on project whic is one year old.
>
> When I compile *.java I get resultto compile it with -deprecation
>
> then I get result :
>
> C:\java\j2sdkee\Test>javac -deprecation IOMethods.java
> IOMethods.java:22: Note: The method java.lang.Object
> getValue(java.lang.String)
> in interface javax.servlet.http.HttpSession has been deprecated.
> fileName = (String) session.getValue("UserAccess.HomeDir") +
> "vacation.log";
> ^
> IOMethods.java:31: Note: The method java.lang.Object
> getValue(java.lang.String)
> in interface javax.servlet.http.HttpSession has been deprecated.
> rez.append("[" + session.getValue("UserAccess.username") + " " +
> ^
> IOMethods.java:32: Note: The method java.lang.Object
> getValue(java.lang.String)
> in interface javax.servlet.http.HttpSession has been deprecated.
> session.getValue("UserAccess.name") + " " +
> session.getValue("
> UserAccess.surname") + "] ");
> ^
> IOMethods.java:32: Note: The method java.lang.Object
> getValue(java.lang.String)
> in interface javax.servlet.http.HttpSession has been deprecated.
> session.getValue("UserAccess.name") + " " +
> session.getValue("
> UserAccess.surname") + "] ");
>
> ^
> Note: IOMethods.java uses or overrides a deprecated API. Please consult
the
> doc
> umentation for a better alternative.
> 1 warning
>
>
>
> What does deprecation mean and what should I do?
>
> Regards,
> Haris
>
>
___________________________________________________________________________
> 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