Compiling package

I don't know if this is the correct place to call for help - specially since I don't know if my problem falls in Tomcat domain or Java/JSP domain.

I have a fairly simple structure of classes -

classB creates instance of classA both are part of a package called as util - both the classes compile without hassle.

I am importing classB in a jsp ->jsp1

When I try to test this jsp1 - tomcat cannot find the package - util.

Actually the jsp compilation fails while importing util.*

For over a day I've been looking at it as a Tomcat problem, but now I am not sure!

Does anyone have a clue about what could be wrong?

I'll "REALLY REALLY APPRICIATE" some help!

Thanks

[737 byte] By [sabond] at [2007-9-26 18:27:51]
# 1

Check your tomcat classpath to make sure that the util package is visible to the Tomcat VM. I bet your classes compiled OK because '.' (current directory) is part of your classpath, or because you have the parent directory of util in your system classpath, but Tomcat doesn't have the same and therefore can't find your classes.

javastevec at 2007-7-3 2:42:20 > top of Java-index,Developer Tools,Java Compiler...
# 2
Hi Ensure whether the directory above the util directory is in ur classpath.if not put it. it will work
SRajeshS at 2007-7-3 2:42:20 > top of Java-index,Developer Tools,Java Compiler...
# 3
Copy your class files to the appropriate directory. Which one that is, is explained in the tomcat documentation.
mbergijk at 2007-7-3 2:42:20 > top of Java-index,Developer Tools,Java Compiler...