aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Message display when next button is clicked. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Message display when next button is clicked." Watch "Message display when next button is clicked." New topic
Author

Message display when next button is clicked.

meena latha
Ranch Hand

Joined: Jan 24, 2005
Posts: 219
Hi all.

I am trying to write an small application in JSP using JSTL.
In that application when i click the next button i should be able to
display a message at the bottom of the same jsp saying "Please Wait while transfering the data".And once the data is transferred the next page should be display automatically.If anybody can provide me the code or the link which has similar feature that will be of great help.

Thanks in advance.
Ramya.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60049
    
  65

Since that is completely a client-side operation, you'll need to use Javascript on the page to accomplish it.

So I've moved this to the HTML/Javascript forum for further discussion.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60049
    
  65

Probably the easiest way to accomplish this would be to have a div already resident on the page that contains the message, but initially hidden. When the button is clicked, you would reveal the div before submitting the form or redirecting the page.

The CSS display rule is the one you would use to accompiish the hide/reveal capability.
 
 
subject: Message display when next button is clicked.
 
Similar Threads
can any one write this JSP program pls
How to navigate through a web page displayed in iframe ?
page expired when clicking back button of browser.
how to display waiting/loading messages until data is displayed to the user
JSP Design Question about paging data