Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

HOw to make my JSP page Load faster  RSS feed

 
Harish Ponduri
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,

I have a problem with my JSP page loading. let me explain it briefly my senario.

My application is an life insurance application, in which i have a policy page where we have to take the details of the policy.

so, my policy page contains policy holder , spouse and childrens(two) all these come in one policy if the policy taker is intrested.
The problem is i am loading all the data collectors for the above four on page load and hiding the spouse and childrens(two) and onclick of particular check boxes i am enabling them.

so, how can we make some part of JSp load and onclick of some thing some other part ned to load instead of everything loading and hiding them.

my performance is very slow now.. please help me outttttttt


Regards,
Harish Kumar Ponduri.
 
ujjwal soni
Ranch Hand
Posts: 405
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

There are many reasons that may affect jsp performance

1) Scriptlets -> Use scriptlets only if necessary

2) Are you doing any IO operation from your jsp, avoid that

Please note that when a jsp page gets loaded first time then it may take time to load.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!