Head First Servlets & JSP - Chapter 3, servlet version 2
Joined: Jun 19, 2005
If someone has read this book or has prior info which might get me back on track, I would really appreciate it.
I am getting a
package com.example.model does not exist
error and yet I have followed the book instruction to a tee (code, directories, etc). I am wondering if the book may be in error since the import statement points to a directory that contains only a java file instead of a class file (as shown below). As instructed by the book, the class file, which the import statement points to, is not in the
directory -- rather it is in the
directory (right where the -d command SHOULD put it).
Below is the directory structure and the servlet code