Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ServletContext cannot be resolved to a type

807598May 11 2006 — edited Jan 12 2007
ServletContext cannot be resolved to a type error in Eclipse

Hi,

I keep getting the following error in my workspace:

"ServletContext cannot be resolved to a type"

The code seems to work fine in other JSP's but when I copy to some pages the error appears.

Could someone please provide some advise on why the error occurs? And maybe were to look to find a solution?

Thanks in advance.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 9 2007
Added on May 11 2006
5 comments
7,448 views