> Hi Alexei,
>
[quoted text clipped - 12 lines]
>
> an "echo %CLASSPATH%" right after, however produces:
d:\sites\server\classes;d:\sites\server\classes;d:\sites\server\classes;d:\s
ites\server\classes;d:\sites\server\classes;;d:\sites\server\classes;d:\site
s\server\classes;d:\sites\server\classes;d:\sites\server\classes;d:\sites\se
rver\classes;d:\sites\server\classes;;d:\sites\server\classes;
> in the dos window that runs tomcat.bat. This seems strange and I'm not
> sure why. Any ideas?
weird, but you need to look at (debug) the all the scripts that are
involved,
they are tricky, maybe there's some unwanted recursion in how the
final classpath gets built - cannot tell you
> The reason I don't want to put my classes under WEB-INF\classes is b/c
> the package hierarchy is made up of two main components. The servlets
[quoted text clipped - 17 lines]
> servlets package from the rest of them as this would only cause
> headaches.
well, if all your classes are used in the same WebApp I'd still keep
them under this Apps' WEB-INF, having said that, it does not have
to be WEB-INF\classes, I instead prefer
WEB-INF\lib\myservlets.jar
WEB-INF\lib\mycorelibs.jar
with a clear dependency separation, and all that sits inside the WAR
file which is a single deployment unit.
Tomcat will be able to unpack it for you automatically with no need
for hacking with CLASSPATH.
Thanks,
~Alexei
> thanks
>
[quoted text clipped - 53 lines]
> > >
> > > thanks