i am using com.example.we and com.example.model packages. First one contains BeerSelect.java and second one has BeerExpert.java
and i have to use BeerExpert.java in BeerSelect. Both are in tomcat but compilation of BeerSelect.java is prompting error on import of com.example.model and thus code is prompting obvious errors. Here are the files
They might be deployed to Tomcat, but the classpath used for the compilation itself isn't correct. How are you compiling the classes?
Neha Aggarwal
Greenhorn
Joined: May 06, 2010
Posts: 11
posted
0
this is what i am using to compile BeerSelect.java as mentioned above. And BeerSelect is using BeerExpert. I have kept both the files in jdk/bin folder.
Please tell me if i am making any mistake because i think i am but really cannot figure out what is it