Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Running Servlets on Netbeans 4.0

 
Gibson Tang
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to have the JAR containing the servlet api in the classpath.
 
Screaming fools! It's nothing more than a tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!