tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From FHSerkl...@aol.com
Subject Classpath problem
Date Sat, 03 Jan 2009 20:00:17 GMT
Hello.  I am using Tomcat 6.0.18, my Java version is 1.6.0_11 and I  have a 
servlet called TestingServlet.java.  My classpath reads like  this:
 
.;C:\Sun\SDK\bin; C:\Sun\SDK\jdk\bin; C:\Tomcat\lib\servlet-api.jar
 
I cannot compile in DOS without typing:
 
javac -classpath C:\Tomcat\lib\servlet-api.jar TestingServlet.java
 
I cannot understand why I am being required to specify the servlet api when  
I have it in my classpath.  I have looked through the manual and Googled  for 
an answer to this problem without success.  Can anyone help me  out?  Thanks.
**************New year...new news.  Be the first to know what is making 
headlines. (http://www.aol.com/?ncid=emlcntaolcom00000026)

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message