File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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
It's not a secret anymore!