This week's book giveaway is in the JavaFX forum.
We're giving away four copies of Introducing JavaFX 8 Programming and have Herbert Schildt on-line!
See this thread for details.
The moose likes Servlets and the fly likes Jsp response performance Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Introducing JavaFX 8 Programming this week in the JavaFX forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Jsp response performance" Watch "Jsp response performance" New topic

Jsp response performance

Per Lovdinger
Ranch Hand

Joined: Jun 11, 2001
Posts: 35
Jsp response performance
The problem:
We have performance problem while running a jsp-application.
More specific let's assume the jsp-page generates 1000 lines as a response to the browser.
I've done some testing and if the jsp makes 1000 print.out() it works out signaficantly
slower then to create a StringBuffer(with 1000 lines) and do one print.out.
Why is that ?
I thought the print.out where buffered in the response...
..Per Lovdinger
Dmitriy Pavlyuk
Ranch Hand

Joined: Mar 25, 2001
Posts: 33
I have the same problem. When i use iterator custom tag it works very slow. See my question from 30 July 2001.
I agree. Here's the link:
subject: Jsp response performance
jQuery in Action, 3rd edition