Author
JSP Loading Problem
chiranjeevi gunturu
Ranch Hand
Joined: Mar 02, 2007
Messages: 42
posted Feb 09, 2010 10:13:15
Hi,
I have a JSP in my application that takes about 5 minutes to load.
What all the steps i need to follow to make it load in atleast 2 minutes.
Please suggest me.
Thanks in advance.
Thanks
Chiranjeevi
Bear Bibeault
Author and opinionated walrus
Sheriff
Joined: Jan 10, 2002
Messages: 36589
posted Feb 09, 2010 10:27:49
Get a faster server?
Seriously, use a profiling tool to find out where the bottlenecks are,
[Smart Questions ] [JSP FAQ ] [Books by Bear ] [Bear's FrontMan ] [About Bear ]
David Newton
Author
Bartender
Joined: Sep 29, 2008
Messages: 6852
posted Feb 09, 2010 11:02:30
Make it shorter? Use fewer custom tags? Take the database access out of the JSP? Have the JavaScript run after the page loads?
No code, absolutely no way of helping.
Consultant/Trainer | Polyglottal Developer | Struts Committer/PMC | Struts 2 Web Application Development
chiranjeevi gunturu
Ranch Hand
Joined: Mar 02, 2007
Messages: 42
posted Feb 10, 2010 08:30:33
Thanks a lot!!!
Bear Bibeault
Author and opinionated walrus
Sheriff
Joined: Jan 10, 2002
Messages: 36589
posted Feb 10, 2010 08:53:56
Well, what did you expect? if you go into a doctor's office and say nothing more than "something hurts", he's not going be able to offer much help. Same here.
[Smart Questions ] [JSP FAQ ] [Books by Bear ] [Bear's FrontMan ] [About Bear ]
David Newton
Author
Bartender
Joined: Sep 29, 2008
Messages: 6852
posted Feb 10, 2010 10:08:31
(I suppose it could have been a genuine thanks, although I'm not sure for what.)
Consultant/Trainer | Polyglottal Developer | Struts Committer/PMC | Struts 2 Web Application Development