Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jsp loading time

Alex Kravets
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 ]
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic