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
>
>  On Thu, Apr 24, 2008 at 9:52 PM, Allen, Daniel <[EMAIL PROTECTED]>
>  wrote:
>  > Hi, all.
>  >
>  >  I'm using the snippet below[1] in my struts.xml file to send finish
>  an
>  >  action with a redirect to another, and sending a parameter along.
>  >  However, Struts 2 defaults to passing the parameter via appending it
>  to
>  >  the URL in a GET request. I'm going to need to add additional
>  >  parameters, some of which may be extremely large, and which I'd
>  prefer
>  >  the user not be able to easily alter. So, I would like to change
>  things
>  >  so that the URL result is just
>  >  "webapp.com/namespace/documentUpload_input" and the parameters are
>  >  passed invisibly via POST request.
>  >
>  >  Is there a way to do that?
>  >
>  >  ~Dan Allen
>  >
>  >
>  >
>  >  [1]
>  >  <action name="createPolicy" class="createPolicyAction">
>  >         <result name="success" type="redirect-action">
>  >                 <param name="actionName">documentUpload_input</param>
>  >                 <param name="parse">true</param>
>  >                 <param name="policyId">${policyId}</param>
>  >         </result>
>  >  </action>
>
>  --
>  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]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to