Announcement Announcement Module
Collapse
No announcement yet.
browser back button Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • browser back button

    hi EveryOne,
    i m quiet new to spring framework, i want to stop the function of browser back button so that if user move forward then it won't go again in back page...

    Waiting for ur reply..

    bye...

  • #2
    Check out Expert Spring MVC

    Don't know if this is best answer. But you might want to have a look at this.
    They have section with AbstractWizardFormController you might find interesting.
    Basically you don't disable back, but use hidden form fields to hold a current and next page number.
    If user hits back button you can adjust state by using session object to keep track of this kind of telemetry (page number).
    You might try a Google Book search for book and search for AbstractWizardFormController .
    http: // books.google.com/books?q=expert+spring+mvc
    Also you might find this interesting. Came across reference to this in Expert Spring MVC today and thought of you:
    http: // www-128.ibm.com/developerworks/library/j-contin.html
    This is the kind of stuff Spring Web Flow implements under the covers.
    Check out org.springframework.webflow.execution.repository.c ontinuation package.
    The Expert Spring MVC book may not be best ref for SWF. Check out Erwin Vervaet's book Working with Spring Webflow. It's not for SWF 2 though as yet. So check out samples.
    Maybe this will give you what you require.
    Regards, Jeremy
    Last edited by JGF; Jul 17th, 2008, 02:09 PM. Reason: Added continuations reference

    Comment

    Working...
    X