Re: JSP doubt
Affan Qureshi <[email protected]>
| Newsgroups | gmane.comp.java.sun.servlet |
|---|---|
| Message-ID | <003101c3034d$da6800c0$b10aa8c0@aqureshi1> |
A simple solution is to take the user to a temporary page which refreshes itself every 5 sec and checks on the server if the requested page (b.jsp) is ready. If not then again display the same page. If yes after a couple of tries take him to the b.jsp screen. This invloves multiple requests to the server. So might impose a heavy load in case of too many users. A better solution is using JavaScript where we display a layer when going from page one to any other page. The layer stays on top until b.jsp is loaded which has a closeLayer() function fired on onLoad() event. HTH. Affan ----- Original Message ----- From: "Gopal" <[email protected]> To: <[email protected]> Sent: Tuesday, April 15, 2003 3:42 PM Subject: JSP doubt > I have a doubt . > > I have a page called lets say , a.html which is a login page. > Once a user logs in to a.html he enters the next page lets say > b.jsp ,which is a dynamic page and the contents has to be loaded > from the database. > So it takes atleast one minute to load b.jsp.So till the time > b.jsp loads , i need to show a temperory page which states that " > PLEASE WAIT WHILE THE PAGE IS BEING LOADED " > > How can I implement this ? > > CAN ANYONE PLEASE HELP ME .. > > Gopal > > ___________________________________________________________________________ > To unsubscribe, send email to [email protected] and include in the body > of the message "signoff SERVLET-INTEREST". > > Archives: http://archives.java.sun.com/archives/servlet-interest.html > Resources: http://java.sun.com/products/servlet/external-resources.html > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html > ___________________________________________________________________________ To unsubscribe, send email to [email protected] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html