[email protected] schrieb:
> Hi,
>
> I'm implementing a payment to a bank from JSF application. I need to
> pass some prameters to an external https URL of the bank by POST method.
>
> I could do it with just plain form:
>
> <FORM name="form" action="https://address.cz"; METHOD=POST>
> <INPUT TYPE="HIDDEN" name="MID" value="123">
> <INPUT TYPE="HIDDEN" name="AMT" value="12345.60">
> ....
>
>
> But I also need to call a bean method that logs the submitted values to
> database.
>
> Maybe I could post the form from bean action method but how?
>   
The Apache httpclient project provides a library that makes it easy to
generate http requests. You could use this lib from within your action
method.

See: http://hc.apache.org/httpclient-3.x/

Regards,
Simon

-- 
-- Emails in "mixed" posting style will be ignored
-- (http://en.wikipedia.org/wiki/Posting_style)

Reply via email to