There is a delay the first time you execute a JSP. Tomcat must compile it
first.
Tomcat has a tool called "jspc" that allows you to pre-compile your JSP.
----- Original Message -----
From: "Jon Shoberg" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 25, 2001 7:36 AM
Subject: JSP too slow ...
> 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
===========================================================================
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