Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JCreator help !!!

 
Wasim Ahmed
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Folks,
I am trying to compile a Servlet in JCreator LE and getting a following error message
D:\JCreator LE\MyProjects\HelloServlet.java:2: package javax.servlet does not exist
I am using jdk1.4 and added to the JAVA_HOME path any thoughts ??
 
Ding Ding
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you must add the Servlet's JAR file into your project's classpath
 
Michael Matola
whippersnapper
Ranch Hand
Posts: 1817
4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
DingDing, please adjust your displayed name to meet the JavaRanch Naming Policy. You can do so here.
Thanks. Welcome to the Ranch!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic