File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Running Servlets on Netbeans 4.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Running Servlets on Netbeans 4.0" Watch "Running Servlets on Netbeans 4.0" New topic

Running Servlets on Netbeans 4.0

Gibson Tang

Joined: Aug 05, 2004
Posts: 10
I've using Netbeans 4.0 as an IDE and i want to be able to create and compile servlets in that IDE.But it seems that there is an error about "package javax does not exist" at the line where i import the javax files.Does anyone know how to get rid of this problem?Thanks
Annie Smith
Ranch Hand

Joined: Mar 05, 2005
Posts: 172
You need to have the JAR containing the servlet api in the classpath.

Cheers!<br /><b>Annie</b>
I agree. Here's the link:
subject: Running Servlets on Netbeans 4.0
It's not a secret anymore!