Hi,

Set the attributes in the request (request.setAttribute(name, value);)
then dispatch the request.

        RequestDispatcher dispatcher = getServletContext()
            .getRequestDispatcher(URL of the page);
        dispatcher.forward(request, response);


On Tue, Jun 21, 2011 at 7:14 AM, John Himpel <j...@jlhimpel.net> wrote:

> Good evening,
>
> I have an S2 application the needs to:
> 1) Verify some input parameters (I know how to do this)
> 2) Retrieve some additional data based upon the input parameters (I know
> how to do this).
> 3) Then format a "post" type http request with hidden fields containing
> data from #1 and #2 above to be sent via https to an outside vendor
> provided web based application running in the outside vendor's domain.
> 4) The vendor app will then process the application to completion.
>
> I believe I know how to do this as a "get" http request by defining the
> "redirect" result in struts.xml.  However, I'm at a loss on how do this
> via a "post" request.  Any advise would be greatly appreciated.
>
> Thanks.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>


-- 
Regards
Kushan Jayathilake

Reply via email to