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!

Viewing java code in Eclipse

807597Aug 15 2005 — edited Aug 15 2005
This question of mine is not directly related to Java but I couldn�t find a better place to post this question. I have a java application contained in 2 zip files. I am viewing the files in eclipse. I created a project and extracted both the zip files here. But now, when I open a file to view the code, red lines show all over. When I scroll my mouse on top of the element it shows errors like this:
ServletException cannot be resolved to a type
HttpServletRequest cannot be resolved to a type
HttpServletResponse cannot be resolved to a type
The method init() is undefined for the type Object
The method destroy() is undefined for the type Object
I know I can view the code in a simple java editor too, but I am using Eclipse as I want to learn. Can someone please tell me what could be the problem??
Thanks
Mick
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 12 2005
Added on Aug 15 2005
6 comments
102 views