I am currently using eclipse galileo and NetBeans 6.8 IDE. I am doing the servlet programming with these IDEs. I open completely two separate projects with these.
NetBeans 6.8 working just fine. But eclipse galileo creates problem.
I create new project by clicking "file->dynamic web project". that works well. but when i create a servlet under this project, eclipse generates the default servlet where all the servlet related packages and objects marks as underline. That means that, eclipse or some points of eclipse configuration can not locate the servlet objects and packages properly.
to solve the problem i delete the eclipse ide and unpack and setup eclipse galileo sevaral times. I am using tomcat v.6.0.24 as web server. but the problem remains same.
can anyone please help on this issue, please? It's urgent.
Eclipse doesn't contain a copy of Tomcat or for that matter, any J2EE server. If you want to reference J2EE classes, you have to tell your project where to find copies of them.
A simple way to do that is to go to the Project Properties/Build/Libraries options page and add external entries for the jsp-api.jar and servlet-api.jar files in the lib directory of a copy of Tomcat that's been installed on your system.
For project portability, you can define these libraries as symbolically-named resources using the Eclipse Preferences editor, then include their symbolic references in your project.
An IDE is no substitute for an Intelligent Developer.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: Hi, I am using eclipse galileo, but it does not work on right way with servlets.