aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes package javax.servlet does not exist. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "package javax.servlet does not exist." Watch "package javax.servlet does not exist." New topic
Author

package javax.servlet does not exist.

mayur khatri
Greenhorn

Joined: Aug 10, 2010
Posts: 10
Hi.I am using netBeans and i have am trying to run a servlet program.
But i am not able to import the javax.servlet package.i.e i am getting the error stating that the javax.servlet package does not exist.
I have properly installed jdk1.6 and tomcat and the servlet programs are running properly on command prompt(i.e dos).
But i want to run servlet program on net Beans.

So please can any body tell me wht do i need to do so that this error goes away and i am able to run the program.
Please help

Thanks.
Amit Ghorpade
Bartender

Joined: Jun 06, 2007
Posts: 2716
    
    6

Welcome to Javaranch samurai jack.
Please check your private messages.


SCJP, SCWCD.
|Asking Good Questions|
Amit Ghorpade
Bartender

Joined: Jun 06, 2007
Posts: 2716
    
    6

Have you added the servlet library in Netbeans?
mayur khatri
Greenhorn

Joined: Aug 10, 2010
Posts: 10
Amit Ghorpade wrote:Have you added the servlet library in Netbeans?

Thanks..it has helped.
I just added servlet library..
am a newbee.
 
 
subject: package javax.servlet does not exist.