• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HeadFirst Servlets & JSP importing a package

 
Michael Carlson
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm working on page 85, trying to compile the servlet version 2, but using thier compiler command it can not find the com.example.model package. I've tried setting the classpath variable but have had no luck.
Thanks
 
Alec Lee
Ranch Hand
Posts: 569
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is more a problem related to your classpath setting than servlet. Note the example probably executed in unix where : is class path separator. Windows is using ;.
 
Michael Carlson
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks guys.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic