Was this the first request to the given JSP page? If the answer is yes, then Tomcat
needs to translate your JSP code into a valid Servlet and then compile the servlet.
The only time this occurs is the first request after the page has been modified - that
is why it may take a while.

Jon Shoberg wrote:

>         I am doing some development work in JSP right now to get a feel for it and
> Java. One thing I've noticed is speed. I am running Win2000 with the latest
> Apache, Java 1.3, tomcat 3.2, and Jakrta(tomcat) installed as a NT Service.
> When I click on simple JSP pages it takes forever (2-4 second wait). In
> comparison the PHP setup I have is almost instanting when I make a request
> for a simple page.  Any thoughts on how to speed things up?  My box is an
> Athlon 750 with 512mb of ram running Win2000 so everything should be fairly
> instant.
>
> thanks
>
> ===========================================================================
> 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

--
Erik I Morton
Software Developer
------------------
CommerceHub
http://www.commercehub.com
518-886-0704
21 Corporate Drive
Clifton Park, NY 12065

===========================================================================
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