Folks,
The CLASSPATH environment variable is an ugly hack. It can be convenient to get beginners going, but by the time you're posting in this Intermediate forum, you shouldn't be using anyway. Furthermore, Struts implies a
Servlet container, which
will not use CLASSPATH to find libraries anyway!
Both "java" and "javac" accept a "-cp" command line argument; you use it like
javac -cp c:\struts\struts.jar;c:\servlets\servlet-api.jar;c:\otherstuff;. MyClass.java
If that's too much typing -- and of course it is -- then you need to learn about Apache
Ant for managing your build process, which will "type" all of this for you.