Hi,
I have a
Struts 1.1 webapp.
The webapp is a wizard style app. The flow is defined in the struts -conf.
For example:
page a forwards to page b.
page b forwards to page c.
page c forwards to page d.
My question:
How do I maintain the integrity of the flow?
How do I stop a user who is viewing page a from jumping straight to page d by simply entering /paged.do in the browser.
I must ensure my follows the correct flow and cannot circumvent the flow. He/she must vist a - b - c - d in that order. If they do not then we will forward them back to the start.
I need a generic solution. I would like to have the logic in an extended ActionServlet perhaps. I can't think of a simple solution though.
Experts can you help???