This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

package javax.servlet does not exist.

 
mayur khatri
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2854
10
Fedora Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to Javaranch samurai jack.
Please check your private messages.
 
Amit Ghorpade
Bartender
Posts: 2854
10
Fedora Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you added the servlet library in Netbeans?
 
mayur khatri
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Amit Ghorpade wrote:Have you added the servlet library in Netbeans?

Thanks..it has helped.
I just added servlet library..
am a newbee.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic