You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Jon Burford <jb...@xsilogy.com> on 2002/02/06 21:31:16 UTC

passing dynamic information from action to forward page

I have a form object which has a method called save which the perform method
on the action class calls at submit time.  The form then does some things
with its fields and returns "success" if all is good.  This will then
forward to the corresponding page for "success", as defined in my
struts-config.xml.  The problem is, I have dynamic state information in my
form which I would like to pass to the "success" page.  I would rather not
store this information in a db or the session for the "success" page to then
have to retrieve.  Ideally, the form object itself could be passed to the
"success" page using something like SOAP or whatever (I have never used SOAP
before).  It might also be nice if there were some way to return a dynamic
URL from my action perform which could be used as the forwarding URL.  It
would contain all the transient state that the forwarding page needs,
without having to pollute the session or deal with the db.  Has anyone come
accross this problem and/or have any possible solutions?

Thanks!
Jon


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>