Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

package javax.servlet does not exist

 
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: 17278
6
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic