Re: some concepts needed

2008-07-21 Thread Deepak Mishra
On Mon, 21 Jul 2008 17:29:58 +0530, David Smith <[EMAIL PROTECTED]> wrote: Back in the days before tomcat 3.3, we used to have to put all the jars on the classpath and it was HORRIBLE. Nasty version conflicts and lot's of headaches. Somewhere after the introduction of tomcat 3.3, tomcat s

RE: some concepts needed

2008-07-21 Thread Caldarale, Charles R
> From: David Smith [mailto:[EMAIL PROTECTED] > Subject: Re: some concepts needed > > In short, you shouldn't worry about CLASSPATH. Don't just not worry about it - don't even think about using it. > Just put the jar files where they belong -- typically in > you

Re: some concepts needed

2008-07-21 Thread David Smith
Back in the days before tomcat 3.3, we used to have to put all the jars on the classpath and it was HORRIBLE. Nasty version conflicts and lot's of headaches. Somewhere after the introduction of tomcat 3.3, tomcat started purposely ignoring the CLASSPATH in favor of it's own classloader archit

Re: some concepts needed

2008-07-21 Thread Deepak Mishra
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 yo

RE: some concepts needed

2008-07-20 Thread Caldarale, Charles R
> From: David Smith [mailto:[EMAIL PROTECTED] > Subject: Re: some concepts needed > > jsp files are compiled first to .java source code and then > further compiled to .class files (servlets to be specific). Jasper does the translation from .jsp to .java; it can be configured in

Re: some concepts needed

2008-07-20 Thread Deepak Mishra
thanks a lot david, just one last query (if i a mnot irritating you), when you say that tomcat has its "own" compiler, then you mean a compiler other than jasper ..right ?? On Sun, 20 Jul 2008 23:55:35 +0530, David Smith <[EMAIL PROTECTED]> wrote: as you said, tomcat has a java compiler for c

Re: some concepts needed

2008-07-20 Thread David Smith
as you said, tomcat has a java compiler for compiling jsp -> servlets "called" jasper. this is what i read in the wikipedia : "Jasper parses JSP files to compile them into Java code as servlets" by that definition, is it right to call jasper a java compiler ?? it is just a jsp parser, and it can

Re: some concepts needed

2008-07-20 Thread Deepak Mishra
as you said, tomcat has a java compiler for compiling jsp -> servlets "called" jasper. this is what i read in the wikipedia : "Jasper parses JSP files to compile them into Java code as servlets" by that definition, is it right to call jasper a java compiler ?? it is just a jsp parser, and it c

Re: some concepts needed

2008-07-20 Thread David Smith
BTW: java is the JVM, javac is the compiler. David Smith 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

Re: some concepts needed

2008-07-20 Thread David Smith
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 j

some concepts needed

2008-07-20 Thread Deepak Mishra
hi, i am pretty new to tomcat. currently i have tomcat6 on ubuntu-linux. i have pursued some books on tomcat , but they cant help me getting some concepts, they simply point to "using tomcat" here is one of my doubts i got during database connection.. does tomcat have its own java compiler ?