• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Classpath for compile servlet

 
Lily
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am currently reading the book on First Head Servlet and JSP, and come across this questions posted in the forum on "package com.example.model does not exist".

The reply was - add a "classes" to the classpath:
javac -classpath classes;C:\Tomcat\apache-tomcat-5.5.20\common\lib\servlet-api.jar

Can anyone tell me how to interpret the above classes;C:\Tomcat......
What is that classes meant for?

Thanks
LilyNile
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
LilyNile,
Welcome to the ranch. Could you please check Javaranch's Naming Policy and change your name according to the instructions ? Thank you
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic