I have a jsp page called main.jsp.In this page I have a href link which calls another jsp page first.jsp. When I click this first.jsp, it takes some time to laod. while loading, how can I show a message "Loading, Please wait".
You can put a hidden div that's positioned wherever you want on the page, and reveal it just before the link is submitted via the onclick handler of the link. [ June 02, 2008: Message edited by: Bear Bibeault ]
Database access can be lightning fast or excruciatingly slow depending upon too many factors to count. In order to find out where the slowness is coming from, you need to measure where in the code the bottleneck is. Profiling tools are designed for just that,