• Post Reply Bookmark Topic Watch Topic
  • New Topic

In Spring Webflow Is the execution URL request parameter necessary ?  RSS feed

Praveen Reddy
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In my website I am ussing Spring Web Flow depend on an 'execution' request parameter in the URL? It's making our application rather brittle. SWF appends ?execution=(some flow execution key).

for example:

I am having two issues

1) When user bookmark the above url and try to acesses later its going to 404 page because its not able to get execution key e2s2. Can someone guide me how to handle this for diffrent pages.

2) If user leaves the browser unused for 5 to 8 min its not able to get the flow execution key and goes to 404 page.
We're getting way too many exceptions along the lines of:
org.springframework.webflow.execution.repository.F lowExecutionRestorationFailureException: A problem occurred restoring the flow execution with key...

Can I either suppress the flow id completely or hide it via a hidden form field?

Can someone please suggest me something.

Thanks in advance,
Mark Spritzler
Posts: 17309
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That is what Spring WebFlow is using to do the WebFlow. It is an integral part of WebFlow.

You can bookmark


Because the is the entire WebFlow URL. You can also set things like WebFlow's timeout such that it will hold the flow for longer time.

The whole purpose of WebFlow is when you have multiple request responses in a use case, and Spring WebFlow will manage it so that the back button and multiple tabs don't cause havok, among other things. The way that it can do that is by some special key that Spring holds onto to manage it all, that is the execution key.

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!