Thanks for the info, guys! I will probably end up going with the session after all, but I'll take a look at Flash scope in that interceptor, too.
~DVA -----Original Message----- From: Guillaume Bilodeau [mailto:[EMAIL PROTECTED] Sent: Friday, April 25, 2008 10:09 AM To: user@struts.apache.org Subject: Re: Redirect-action parameters via POST The use case you're describing would be best implemented using flash scope. Your options include: . use the Scope plugin (http://cwiki.apache.org/S2PLUGINS/scope-plugin.html) . implement the scope yourself using a result / interceptor pair as discussed in this forum (http://www.nabble.com/Is-there-such-a-thing-as-flash-in-S2--td16697840. html#a16866433) Developing the scope itself is quite straightforward, but if you want some pointers I can help you out. Cheers, GB ancatdubher wrote: > > Redirect (by design) uses an HTTP GET request method. This means the only > way to pass values is in the URL. If your data is small enough, you could > encode/encrypt it into the URL and decode it back after the redirect - an > approach that isn't clean and I wouldn't recommend. (Also, the URL is > limited to 256 characters length). > > The only other option is the session. > > > > Nils-Helge Garli wrote: >> >> >> Well, it sounds like something that shouldn't be possible to me... It >> kind of violates the whole concept of a redirect. If you really want >> the data to be a part of the URL, you could do some encoding to make >> them less readable and shorter. >> >> Nils-H >> >> On Thu, Apr 24, 2008 at 10:12 PM, Allen, Daniel <[EMAIL PROTECTED]> >> wrote: >>> I can, and I considered that, but I was hoping to keep it in the XML to >>> minimize the number of files that need to be changed. The >>> documentUpload >>> action that's the redirect target below is actually the recipient of >>> quite a few links (in fact the basic point of the application is to >>> facilitate document submission for various purposes). >>> >>> If this isn't possible purely via configuration, then yeah, session >>> storage is definitely my fallback plan. >>> >>> ~DVA >>> >>> >>> >>> -----Original Message----- >>> From: Nils-Helge Garli Hegvik [mailto:[EMAIL PROTECTED] >>> Sent: Thursday, April 24, 2008 3:58 PM >>> To: Struts Users Mailing List >>> Subject: Re: Redirect-action parameters via POST >>> >>> Can you put the info on the session? >>> >>> Nils-H >>> >> >> > > -- View this message in context: http://www.nabble.com/Redirect-action-parameters-via-POST-tp16884951p168 95774.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- This message may contain confidential, proprietary, or legally privileged information. No confidentiality or privilege is waived by any transmission to an unintended recipient. If you are not an intended recipient, please notify the sender and delete this message immediately. Any views expressed in this message are those of the sender, not those of any entity within the KBC Financial Products group of companies (together referred to as "KBC FP"). This message does not create any obligation, contractual or otherwise, on the part of KBC FP. It is not an offer (or solicitation of an offer) of, or a recommendation to buy or sell, any financial product. Any prices or other values included in this message are indicative only, and do not necessarily represent current market prices, prices at which KBC FP would enter into a transaction, or prices at which similar transactions may be carried on KBC FP's own books. The information contained in this message is provided "as is", without representations or warranties, express or implied, of any kind. Past performance is not indicative of future returns. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]