nice Website with many solutions for many problems, but I didn't find anything about my problem yet.
I want to add a weather info on my homepage and for this I want to use a present weather site from the internet. But on my site, I want my own layout! So what I want to do is, on my site you choose the town or city from which you want to know the weather. By clicking on Submit you get to a getResult.jsp also on my Server. This file has to contact the weather service (differnet server), which has a form tag same as mine, and this one wants POST data. (the city)
So how can I fill the POST data via Java? If it would be GET it would be no problem, because I can contact the page with a HttpURLConnection and interpret the result, by adding the data behind the URL. (e.g.: www....com?city=NewYork)
But as I already said, the site wants POST data and I don't know where to put it.
Please help me, I'm searching for several days now and please make your answers simple, because I'm from germany and my english is not so good.