I am writting some
servlets for a class (that's class as in University class, not
java class) but seem to be running into a problem. I have the following import statements:
import java.io.*;
import java.sql.*;
import javax.servlet.*;
import javax.servlet.http.*;
import java.util.*;
I am using Eclipse with version j2sdk1.4.2_01. When I try to compile it says it cannot resolve the javax.servlet package. I'm pretty sure that the
J2EE SDK has these packages, but when I try to install that, it wants to install everything (which I don't want to do). Is there a way to download only this package, install it, and add it to my classpath variable in Eclipse? I know how to add a variable to my Eclipse classpath, but I'm not sure on how to intall (or where to get) just this package. Thanks for any tips.
p.s. I posted this question over at forum.java.sun and someone said to download
Tomcat. Well, I downloaded Tomcat but I can't seem to find anything in there to point my compiler to.