This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Restoring the last page visited

 
az ziz
Ranch Hand
Posts: 50
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
----------------------------
dear all,

in my application we have an iframe where the independent transaction are loaded, each transaction having multiple pages to navigate and complete the transaction. after the successful login i frame is loaded with a default page, after which the user open various transaction selecting from the menu. as the pages are loaded in the iframe and in between the transaction if the user refreshes the page the iframe opens to the default page. what should happen is load the page the user left before refreshing.
to attain this functionality i stored the last visited request uri in the session (done in the "customactionservelet") , if the page was refreshed i forwarded it to this uri. but what happens is it directly navigates to the saved uri.

start -->
transaction page "A" opened from menu
-->
submits the form
-->
do some calculation in the "A" action and maps to "B"
-->
transaction navigates to the page "B"
-->
user refreshes the page (whole page)
-->
now the application loads the "B" page directly


the question is how do i make the page do the process of submit from "A" to "B" and the fwd to page "B"



----------------------------
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic