Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

package javax.servlet does not exist, package javax.servlet.http does not

807591Jan 23 2008 — edited Jun 14 2008
Dear All,
I am a newbie.
I installed JDK1.6.0_04, then NetBeans IDE 6.0
I tried compiling an example servlet, but got this error message:
package javax.servlet does not exist, package javax.servlet.http does not exist

I tried locating these packages, but in vain. I also tried setting the CLASSPATH to many value, still it did not work.
Can anyone, please, help me with.
Should I be able to see the missing packages?

Thank you very much.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 12 2008
Added on Jan 23 2008
10 comments
1,656 views