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