hi all , i'm trying the HFSJ mini mvc application.i have made the appropriate directory structure in my system as is specified there. But when i tried to compile the BeerSelect.java servlet file given in page 84 , the comipler giving error like package com/example/model doesnt exist, though it is very much there.i'm using jdk1.5 with Tomcat 5.0.Thats why i'm also compiling the BeerExpert.java file with javac -source 1.4 format.I'm not getting any error there but not able to compile the BeerSelect.java servlet file.. Anybody Plz sort it out.. I'm getting tension....
Life is full of trouble
.....For Every Problem There Is a Solution.....
I am hoping you set the classpath to \TomcatInstallDirectory\common\lib\servlet-api.jar
Joined: Sep 05, 2005
Thank u all forthe advice. Now the program is running correctly but only after i set classpath to point to the directory structure where classes are there. But my doubt is why the JVM didnt get the classes from the current directory.