But how I know what the server-application expects when I send input. For example: I'd like to have google search for "George W. Bush" as a background application using the URL-class as you desribed it. How has the exact datastream to look like. I examined the html-source code of the google-page but I couldn't succeed in writing the correct search-output-stream to my URL-connection.
A possible way to find out exactly what google expects is to capture the datastream when using this site in the (firefox)browser. But I don't know how to get access to this datastream. Does anybody know how to get access to this data?