简体   繁体   中英

Redirect to external website with post parameters in JBoss Seam?

I have to integrate the Moneybooker Payment Service to an existing Seam Application. Regarding to the documentation, I have to pass parameters to moneybookers via POST.

My question is, how to pass parameters via POST to an external website? I know I am able to redirect to an external website via "FacesContext.getCurrentInstance().getExternalContext().redirect("URL")", and I can pass parameters via get to this website. How to do this with a POST?

It would make sense to me to do this with a form with invisible fields as parameters, but I am not able to redirect to an external URL via forms.

Thanks for any suggestions :)

使用普通的HTML <form>元素。

<form action="http://moneybooker.com" method="post">

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM