Solved

JSP/Servlet Loading Indicator

Posted on 2009-05-19
5
330 Views
Last Modified: 2013-11-24
I have a JSP page that does an SQL query that takes about a minute, so the HTML page doesn't get rendered right away.

Is there an easy to use, robust  Loading indicator I can use with JSPs?  Kind of like the Vista loading icon?
0
Comment
Question by:lcor
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 27

Expert Comment

by:mrcoffee365
ID: 24426977
JSP is server-side technology, not related to client-side activities like loading indicators.  You can use Javascript to show loading progress.
0
 
LVL 12

Accepted Solution

by:
Gibu George earned 250 total points
ID: 24432091
Try using DWR and instead of using JSp and you can use the reverse ajax feature to get the status or loading indicators
directwebremoting.org
0
 
LVL 27

Assisted Solution

by:mrcoffee365
mrcoffee365 earned 250 total points
ID: 24432573
Yes, DWR is a package of Javascript with Java for Ajax calls (Javascript again) to do a loading indicator.  There are many Javascript packages which do loading indicators.  If the server code is written in Java, then it can be a JSP page or a servlet.  Whatever the server code is, the relevant portion is that the client code is Javascript.
0
 
LVL 12

Expert Comment

by:Gibu George
ID: 24433371
With DWR you need to write a nomianl amount of javascript to write the remaining is generated by the DWR itself
0
 

Author Comment

by:lcor
ID: 24454631
Anyone know of any good javascript loading indicators?
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question