Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

package javax.servlet does not exist  RSS feed

 
Bhagya sri
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am new to servlets. I have oracle database installed on my system and when I compile the servlet, I am getting the following error.

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

I have set the classpath but might be wrong. Could somebody tell me how to resole this problem.

Also could you tell me how to set the classpath.

Thanks very much

[ November 09, 2004: Message edited by: blk blk ]
[ November 09, 2004: Message edited by: blk blk ]
 
Jeff Bosch
Ranch Hand
Posts: 805
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, <name?> -

Setting classpaths is covered in JavaRanch FAQ: How to set a classpath.

Also, please review the JavaRanch user name policy.
 
Mark Spritzler
ranger
Sheriff
Posts: 17309
11
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"blk blk"-
Welcome to the JavaRanch! Please adjust your displayed name to meet the

JavaRanch Naming Policy.

You can change it

here.

Thanks! and welcome to the JavaRanch!

Mark
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!