Originally posted by Ben Souther:
I don't think that changing the content type to Excel is what's causing the slowdown. To find out, try changing it to text/plain and see if it comes down any faster.
I have no doubt that the network (internet) is the bottleneck.
One thing that might speed things up is adding a gzip filter if your container doesn't already have one (Tomcat does).
How is it an Excel file when you're generating HTML tags?
Originally posted by kumar satish:
I feel that u are embedding Database code into the JSP which takes lots of time to generate the data.
my suggestion would be to move the DB related code to the helper class which will return the values in the collection format may be arraylist
and i feel this would certainly reduce the display time for the excel
try this suggestion and come back to me for further doubts
Originally posted by Ashvini Devi:
Thank you Ben for your reply,
Since i am new to Java/JSP programming, i don't know what is "Container" is all about.
Yes, i went through the link you have sent. But, couldn't understand how to implement filter in my program.(i am not yet reached that level).
Any Guidance will be appreciated.
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koophttps://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton