basic servlet setup question
I'm beginning to study servlets and all those stuff... I have my jdk131 installed,
and my tomcat up and running...
However, when I try to compile my first servlets using javac, it does not
see where the servlet libraries are. After some searching and head-scratching,
I found a servlet.jar in one of Tomcat's subdirectory. I know this is related,
but I couldn't figure out what to do... I have been changing a lot like changing
the CLASSPATH, PATH, etc.; but nothing seems to do the trick.
How do I make this work?
Thanks a lot in advance!!!
Re: basic servlet setup question
> the CLASSPATH, PATH, etc.; but nothing seems to do the trick.
Try: javac -classpath servlet.jar;something.jar etc.
Unix/Linux replece ';' with ':'
For more details:
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center