Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

compilation error

 
aparna rudra
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hii

when i am trying to compile my filewritten in servlets i get this compuilation error. wht does this error means?

can anyone help me?
thanks

dservlet.java uses or overrides a deprecated API.
Recompile with -deprecation for details.
 
nilesh Katakkar
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The jar file that contains servlet api in your classpath supports a particular version, and your servlet is using some API function from older version.
 
Ramaswamy Srinivasan
Ranch Hand
Posts: 295
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Aparna Rudra,

Did u try using the request.putValue(); mothod in your code?

If so, it is deprecated and you will get such warning.

It is one of the reasons for such a warning

Cheers,
Swamy
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic