hi all
please help me compile my first
servlet, i cant figure out how to compile the BeerSelect servlet code on page 80 of head first servlets, i have installed
tomcat in D:\Tomcat\ and created the following environment variables
CATALINA_HOME d:\tomcat
CLASSPATH d:\tomcat\lib\servlet-api.jar;d:\tomcat\lib\jsp-api.jar
JAVA_HOME D:\Program Files\Java\jdk1.6.0_17
PATH D:\Program Files\Java\jdk1.6.0_17\bin
my project is created in this structure
c:\myprojects\beerv1\..(and the same development structure in the book)
so this gives my BeerSelect.java file the following location
c:\myprojects\beerv1\src\com\example\web\BeerSelect.java
but i cant figure out how to customize the following compile command given in the book,
javac -classpath /Users/bert/Applications2/tomcat/common/lib/servlet-api.jar:classes:. -d classes src/com/example/web/BeerSelect.java
please help me out!!!