B
bill.blackmon
I have a problem regarding successive 'submits' or redirects using
Struts.
The user is then asked to accept some terms and conditions on page 2
by clicking the following link:
<a href="/media/submitMediaItem.do?submitAction=tcAccept">
This calls an action that opens a document on the file system using the
configured
application to handle the file type. The document is either then opened
or
saved.
The state of the web app remains on page 2.
I need to automatically go back to page 1 but last action called has
taken me
'out of the loop' so to speak.
I imagine there must be a JavaScript solution to this but I have no
idea what it
might be.
Any help would be greatly appreciated!
Struts.
The document info is then stored and the user is forwarded to page 2.From page 1, the user selects a document from a list.
The user is then asked to accept some terms and conditions on page 2
by clicking the following link:
<a href="/media/submitMediaItem.do?submitAction=tcAccept">
This calls an action that opens a document on the file system using the
configured
application to handle the file type. The document is either then opened
or
saved.
The state of the web app remains on page 2.
I need to automatically go back to page 1 but last action called has
taken me
'out of the loop' so to speak.
I imagine there must be a JavaScript solution to this but I have no
idea what it
might be.
Any help would be greatly appreciated!