Is it possible to transfer data between html pages driven by spring web flow?

Posted by Easwaramoorthy Kanagaraj on Stack Overflow See other posts from Stack Overflow or by Easwaramoorthy Kanagaraj
Published on 2012-06-24T14:54:08Z Indexed on 2012/06/24 15:16 UTC
Read the original article Hit count: 233

I am aware of passing data between jsp in spring web flow.

Is it possible to transfer data between html pages driven by spring web flow. I don't want to use the HTML5 local storage capabilities.

Example:

Page 1: Search box for an employee id.
Page 2: Search result for the employee details.

Two ways that I could think:

  1. Get the employee details in page 1 by ajax and pass the result to the page two.
  2. Pass the employee id to page 2 and get the result by ajax in onload.

In both case I need to pass any variable/data. I am confused in doing this.

Is there anything in the Spring webflow using which I could do this?

Thanks in advance, Easwar

© Stack Overflow or respective owner

Related posts about java

Related posts about JavaScript