Servlet CLASSPATH for Apache

Hi All,
I'm trying to play around with Java Servlets. I have a apache web server running on Solaris. And I'm trying to understand which file I add the JAVA CLASSPATH too so that when apache starts up it will have access to mysql interface libraries etc.
Could some one please tell me?

Thanks.
<><
fishman