I had a similar issue when using XMLHttpRequest (AJAX) - when using Firefox and testing on the same machine, Firefox would hang for several seconds as it competed with the JVM/Compiler for processor resources.
My solution was to test locally with IE 6.x+ which had better behavior in this regard, then to revert to Firefox when accessing the production version of the application since the production JVM/Compiler weren't competing for the same processor resources as Firefox. Another potential source for error - somewhere in the 'work' directory of your tomcat installation you'll find the JSP pages that are generated dynamically for your application. Find the *_jsp.java and *_jsp.class files for your JSP. Check the timestamp of the file between requests to make sure that Tomcat is not regenerating/compiling the JSP's corresponding servlet on every request (I'm assuming you tested more than once and that the response time is low for each request :o) . Hope this helps...if I think of anything else I'll drop a note to the list. JCD -----Original Message----- From: Michael McQuade [mailto:[EMAIL PROTECTED] Sent: Monday, March 20, 2006 11:12 AM To: Tomcat Users List Subject: Helpppp: Tomcat displays Page slowly Hi all..... I have an application running on Tomcat v 5.0.28 , written in Java and running a MySql database. I have one screen that is built dynamically and accesses the database..... The time for the program to perform all activities right up until displaying the page is under a second...... But the actual displaying of the page takes another 6 seconds..... Basically 7 seconds from clicking a button till getting the result displayed..... This is very slow...... Im reading maybe 10 database records then building the page..... Im confident its not the program itself...... For whatever reason, I believe its a Tomcat issue...... I'm very sorry, Im NOT very technical when it comes to Tomcat at all..... Are there any settings that need to be tuned???? I know this is pretty vague, and I apologize....... Thank You for any help you can offer me, its greatlly appreciated..... Mike [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]