how to add post-data to a redirect from an action

2009-04-21 Thread Georg Füchsle
hallo, I have to call another application out from JSF. To call this application i have to send (xml) data via post to the start-url of this application. I found some example on the web: code ExternalContext extContext = FacesContext.getCurrentInstance().ctx.getExternalContext(); String name =

Re: how to add post-data to a redirect from an action

2009-04-21 Thread Simon Kitching
Georg Füchsle schrieb: hallo, I have to call another application out from JSF. To call this application i have to send (xml) data via post to the start-url of this application. I found some example on the web: code ExternalContext extContext =

Re: how to add post-data to a redirect from an action

2009-04-21 Thread Georg Füchsle
Hallo Simon, Yes You have understood right: I want the user's browser to call another server and dont want to continue processing my application afterwards. I also have thought about the JavaScript solution. But using a js solution generally I will write the xml-data into the user's html. I

Re: how to add post-data to a redirect from an action

2009-04-21 Thread Walter Mourão
Some time ago I wrote a small http proxy where an web service call generates a http post. I used commons-httpclient: http://hc.apache.org/httpclient-3.x/and it was quite useful. Cheers, Walter Mourão http://waltermourao.com.br http://arcadian.com.br http://oriens.com.br On Tue, Apr 21, 2009

Re: how to add post-data to a redirect from an action

2009-04-21 Thread Georg Füchsle
Hallo Walter, thanks for Your reply. I have tried to understand what ist httpclient, but I am not shure if I am right. What I guess is that httpclient can manage the client-communication to a web server. That means I can make programs that interact with a webserver. (like calling an url with

Re: how to add post-data to a redirect from an action

2009-04-21 Thread Walter Mourão
No, Sorry, I misunderstood your needs... Walter Mourão http://waltermourao.com.br http://arcadian.com.br http://oriens.com.br On Tue, Apr 21, 2009 at 12:43 PM, Georg Füchsle giofy...@googlemail.comwrote: Hallo Walter, thanks for Your reply. I have tried to understand what ist