When I try to use javax.servlet.http.*
; an error package does not exist is thrown. Should I want to reinstall java or it occurs due to some other problem. I'm using j2sdk 1.4.0 & Tomcat 6.0.
Thanks & Regards
When I try to use javax.servlet.http.*
; an error package does not exist is thrown. Should I want to reinstall java or it occurs due to some other problem. I'm using j2sdk 1.4.0 & Tomcat 6.0.
Thanks & Regards
Guess servlet.jar is not on the classpath. Assuming you are on Windows, right click on My Computer -> Properties -> Advanced -> Environment Variables, and check your CLASSPATH entry.
You should not be using JDK 1.4. It's already past its support life. We're up to JDK 6 for production now. Tomcat 6 requires at least JDK 5 or higher. It's time to upgrade.