Hi,
I am having problems with compiling
Servlet version two code in HFSJ(page-85)
I have kept model class at-> D:\MyProjects\beerV1\src\com\example\model\BeerExpert.java
Servlet at-> D:\MyProjects\beerV1\src\com\example\web\BeerSelect.java
servlet-api at->C:\Tomcat\apache-tomcat-5.5.23\common\lib\servlet-api.jar
Now I am trying to compile using:
javac -classpath "C:\Tomcat\apache-tomcat-5.5.23\common\lib\servlet-api.jar;". -d classes -sourcepath src/com/examples/web/BeerSelect.java
It is not getting compiled giving the following error:
javac: no source files
Usage: javac <options> <source files>
use -help for a list of possible options
This problem was being faced by marten(
https://coderanch.com/t/407370/java/java/Problems-compiling-packages-JSP) & he got it resolved,but unfortunately I am still stuck with it
Please help me.
~ Veeru