> Is that mean when I access JSP page tomcat compile JSP page using JDK ?
> Please, let me know what happen when I access JSP page if you know.

Well, not only Tomcat but other application servers need JDK to compile
JSPs. I'm not sure if JDK1.1.8, but JDK1.2.x or later provides a jar file
named tools.jar, which contains a java compiler. That is used to turn your
JSP into a Servlet. The first time you access to a JSP the server parses it.
You get a .java file with the Java code from your JSP (and some other that
the server adds) and the HTML code is turned into out.println(<HTML code>)
sentences (or some other output method). It's then compiled, and executed.
So the next time you access that page, it just executes the Servlet.

I work with WebSphere, and I've tried Tomcat and Orion, and that's what I've
seen they do...

I hope that helps

Luis Javier

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to