I am practicing Head First Servlets and JSPs at the moment in progress to my scwcd certification. I am struck in compiling java file residing in the same directory structure.
I have a BeerExpert_model.class file in the directory com.example.beermodel and BeerSelect.class file in the directory com.example.beer. BeerSelect.class calls BeerExpert_model class. But the package, com.example.beermodel isn't being recognised while compiling BeerSelect.class.