Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

jsp loading time  RSS feed

Ranch Hand
Posts: 476
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a JSP application that access database and pages thru records. Most of the time loading time is pretty fast. However, sometimes, after finishing initializing all the classes and displaying the page the load time splits in two. First part (sql and classes) is always fast. The second part however where I display results sometimes comes back with 15-30 seconds delay. To test this I print time stamp for each important step.

It seems that on server side everything happens pretty fast (there is no major gap in stamp delay). However, when I start to view the page, only part before <<<END SQL STUFF>>> appears first, and then there is a 15-30 delay and then I see the whole page. I even took out all HTML code from the page and the delay is still there. What could be causing this delay?
If I need to post some code, please let me know.
[ April 20, 2004: Message edited by: Alex Kravets ]
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!