On Sun, 20 Jul 2008 23:24:45 +0530, David Smith <[EMAIL PROTECTED]> wrote:
Tomcat does have a java compiler (jasper) to compile jsp pages to
servlets, but it also needs a JVM (java). Setting CLASSPATH is a big
no-no. Put any required jars your webapp might need in the proper
place. If you use tomcat's internal pooling for db connections, that
means putting driver jar files in tomcat's lib directory.
--David
sorry, if i am looking into this matter too much , but i really want to
know more !!
i just read class loading in java. the jar files (all the ones needed by
the program) are loaded by the JVM (through bootstrap , extension and
system classloaders) just before running the program.
now, since tomcat uses the operating system installed JVM for running the
programs (as you said it has got only a java compiler of its own and not a
"personal" JVM), why isnt it(the operating system JVM) able to locate the
CLASSPATH for jsps as it would do for an ordinary program??
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]