Announcement Announcement Module
Collapse
No announcement yet.
Stop suddenly the webflow Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Stop suddenly the webflow

    Hi,

    I'm using Spring Webflow 2. In my webflow, I have an action state in which I use a third party library.
    This library takes a response parameter and directly generates a response (HTTP 200 OK, HTTP 302 temp redirection...)
    At first, I returned a "stop" event which is just an end-state, but the response provided by the library was not taken into account.
    The only solution I found is to return a "null event", like return new Event(this, null); but, in this case, I have an error in the logs even if it works.

    What's the good solution to stop the webflow and leverage the response returned on the current HTTP response ?

    Thanks.
    Best regards,
    Jérôme
Working...
X