Hi Dick
I cannot tell you how delighted I am that a fellow student of the Cattle Drive might use some of my code.
I actually had you in mind when I posted it because I knew you were a little further down the trail than I am, you're already in Sevlets Creek.
mkdir() creates the directory you specify
mkdirs() creates the specified directory and any required parent directories
the reason you needed mkdirs is because you were not starting from the same point as me, ie you did not have
Tomcat installed in c:\tc6
and probably did not have c:\javafiles\servlets.
I should have thought more before posting, we live and learn.
You may need to edit the code to account for your chosen installation location.