We have a struts app (v1.2.7) that uses Tiles for UI presentation,
running in WebLogic 8.1. We are trying to implement a form whose action
is to a remote servlet. The remote site actually generated the form
details for us, and one of the fields provided is a hidden field
entitled returnURL, which allows me to provide a URL to a page within my
web app.
When the form is submitted, the remote servlet returns to the URL
specified in the returnURL parameter, but the user session is lost and
the relative links for images in the tiles layout disappear.
We have tried appending the session id to the URL sent in the hidden
returnURL of the form, but this did not work. We then changed from URL
rewriting to cookies for handling session state, but this also did not
work.
Does anyone have any ideas on how to maintain session state when
posting to a remote servlet?
Regards,
--Chris