File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Page fowards 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 » Frameworks » Struts
Bookmark "Page fowards" Watch "Page fowards" New topic
Author

Page fowards

sumanth kadaba
Greenhorn

Joined: Jun 21, 2009
Posts: 27
Hi All,

I have a website which contains a header, footer, navigation on the left and a content area. So this is the design part of the website.
The content area is filled up in run time which will be including different pages.

Recently I had to work with MQ and the application had to communicate with the MQ. So I proceeded forward and everything was successful.

However I began to notice that whenever there has to be a communication with the MQ, it takes considerably longer time for the output to be shown in the GUI.
So this creates a longer response time.

So I decided to show the user a waiting message on the screen while the processing took place, but it dint go the way I thought. I used client side javascript for this.

So the problem in brief:
I have a page in which I can do some selections, on submission I am doing some processing on MQ and then forwarding the user to a different page. This operation takes place for a long time.

So Can I have a temporary waiting page which can be shown to the user... and then show the actual page to the user after the processing.

This would mean I would have to find some way to have two page forwards from the action.

I would like to have some idea to be able to do this or anything similar.

Thanks in advance
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Page fowards
 
Similar Threads
Resetting response in action class
Avoiding the page to get refreshed
Decision based on priority
how to show a message while processing is going on
HOW: 'if'-like JSF conditions?