servlet package

Hi all!

I'm trying to compile a servlet (a simple one just to practice) with Eclipse 3.2. But I cannot do it because the compiler does not find the source for the servlet package. The problem is that I have already installed the Java EE 5 SDK Update 2 Preview 3 with JDK and JDK 6u1 with Java EE.

I think that all this naming is quite confusing, and moreover for a newbie like me.

What should I download?

Thanks

[443 byte] By [coriscowa] at [2007-11-27 5:49:05]
# 1
Make sure the jar files with the servlet API are in your project's classpath.
bsampieria at 2007-7-12 15:35:09 > top of Java-index,Java Essentials,New To Java...
# 2
I think that is right. But just to make sure, what jars are those?
coriscowa at 2007-7-12 15:35:09 > top of Java-index,Java Essentials,New To Java...
# 3
> I think that is right. But just to make sure, what> jars are those?It varies depending on the Java EE implementation. Typically, it's one of the following:j2ee.jarservlet.jarservlet-api.jar~
yawmarka at 2007-7-12 15:35:09 > top of Java-index,Java Essentials,New To Java...
# 4

That's it!! It was in ~\SDK\lib\javaee.jar I have included that in the project and everything in working.

I know I'm a newbie but I still think this is not the easiest way of doing things. The Java distribution's naming is not quite easy to understand, every package should be bundled together or in no more than two jars, ...

Anyway, thaks a lot!!!!

coriscowa at 2007-7-12 15:35:09 > top of Java-index,Java Essentials,New To Java...