Can not resolve symbol getServletContext()

Hi,

While I am compiling my application, I am getting an error saying

Can not resolve Symbol : getServletContext() in HttpSession

This application is already compiled successfully by others previously.

Can any one help me in resolving the above issue.

Thanks in Advance

Damodar Reddy G

[329 byte] By [Damodar_Reddya] at [2007-11-27 9:39:53]
# 1
http://java.sun.com/products/servlet/2.3/javadoc/javax/servlet/http/HttpSession.html#getServletContext()The API states that this method is introduced in Servlet 2.3.Maybe you're using an outdated version?
BalusCa at 2007-7-12 23:16:09 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
I am using servlet 2.3 only, even then I am getting the same error.
Damodar_Reddya at 2007-7-12 23:16:09 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...