Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • 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
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!