Results 1 to 2 of 2

Thread: Does Spring have a Callback function (like Tapestry)?

  1. #1
    Join Date
    Aug 2004
    Posts
    21

    Default Does Spring have a Callback function (like Tapestry)?

    Hi,

    I never worked with Tapestry but I found in the documentation that they have something called Callback, which you can use to go back to the page that requested the current page. This would make the pages very re-usable in many situations.
    Is something like this possible in Spring?

    (In the example of Tapesty: you to page that is secure, you get redirected to the login, after that the login automatically redirects to the page you where trying to access)

  2. #2
    Join Date
    Aug 2004
    Location
    Montréal, Canada
    Posts
    845

    Default

    I implement such behaviour programatically:
    I use a filter that check if the requested resource is secured and user is not loged in. In such case, the user is redirected to the login page and a new parameter is added into the request that hold the path to the secured resource.
    When the user login succefuly, he is redirected to the resource he requested originaly.
    The path to the secured request shoud of course survive multiple login tries.
    Omar Irbouh

    Spring Modules Team
    http://irbouh.blogspot.com/

Similar Threads

  1. Spring MVC Web Framework versus Struts
    By biguniverse in forum Web Flow
    Replies: 27
    Last Post: Aug 29th, 2012, 03:57 AM
  2. Spring Web Flow + Spring Framewrk + Tapestry.
    By cspangen in forum Web Flow
    Replies: 1
    Last Post: Oct 14th, 2005, 02:39 AM
  3. A Spring Class Loader?
    By azzoti in forum Architecture
    Replies: 8
    Last Post: May 7th, 2005, 04:02 AM
  4. Replies: 14
    Last Post: Feb 21st, 2005, 05:41 PM
  5. Spring MVC with Tapestry [Solved]
    By GertThiel in forum Web
    Replies: 10
    Last Post: Aug 19th, 2004, 05:09 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •