Originally posted by Hentay Duke:
Tomcat is installed here
/Library/tomcat/lib/servlet-api.jar
Trying invalid syntax won't get you anywhere. Supply the actual path to the jar file.for my pathToTomcat I have tried all sorts of things, such as
/../../../../../Library/tomcat/
Where did you get Tomcat? What version? And how did you install it? You shouldn't have to change anything, and doing so is unlikely to help. In fact, it'll probably just boof things up.Originally posted by Hentay Duke:
That was the directory structure tomcat set up when I installed it. I haven't messed around with it. I have now created the common directory and put the lib folder into it.
/../../../../../Library/tomcat/I'm not sure what you mean by invalid syntax.
Please bear with me, I'm not real experienced with this.
If the command line:javac -classpath /Library/tomcat/lib/servlet-api.jar -d classes src/Ch1Servlet.java
Originally posted by Bear Bibeault:
If not, please show the error that you are getting.
Do not threaten THIS beaver! Not even with this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
|