Hi, I am reading the HFSJ book (chapter 3, page 84-85) and come into a compile trouble when I tried to compile the servlet which calls a method of a model class. I created the directory exactly as what is said in the book and I created the model class (BeerExpert.java) in package com.example.model and it compiles.
But when I modified the servlet to import com.example.model.* to call the getBrands() method of class BeerExpert which I already compiled, the compiler gave errors saying that it couldn't find the com.example.model package.
Can anyone help me out? I have checked everything and I don't have any clue. Thanks for your help in advance.
SCJP 1.4 ---96%<br />SCWCD (in progress)<br />SCJD (in progress)