posted 18 years ago
The : is a separator between different parts of the path. ':' is the path separator on Unix systems, while for Windows it would be ';'. Anyway, with a classpath of
/tomcat/common/lib/servlet-api.jar:classes:.
that splits into three parts, separated by ':'.
/tomcat/common/lib/servlet-api.jarclasses.What that means is, when javac needs to find a particular class, first it will search the servlet-api.jar, then it will search the classes directory, and then it will search the current directory. (Because '.' is a special symbol for the current directory.)
"I'm not back." - Bill Harding, Twister