struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Suneel <sunee...@gmail.com>
Subject Re: Invoking an external URL
Date Tue, 12 May 2009 20:12:25 GMT
You can use the 'Redirect Result'. Check here:
http://struts.apache.org/2.1.6/docs/result-types.html

On Tue, May 12, 2009 at 7:31 AM, Crishantha Nanayakkara
<c.nanayakkara@gmail.com> wrote:
>
> Hi All,
>
> How can I invoke an external URL (absolute path) using the struts framework?
> I can see tags within <result> tag in struts.xml to invoke a relative URL
> within the application. But I am unable to find a way to call an external
> URL passing certain parameters.
>
> For example, in normal JSPs, we can specify my requirement as follows.
>
> <form action="https://pay.bix.lk/servlet/payServletXX" method="post">
>
> How can I incorporate this in Struts framework? especially in struts.xml?
>
> Thank you very much.
>
> Best Regards
> Crishantha
> --
> View this message in context: http://www.nabble.com/Invoking-an-external-URL-tp23501665p23501665.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>



-- 
Thanks
Suneel

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message