Simulating Browser Form Post
Posted on 2001-06-29
Let's say I want to drive a CGI program on a server somewhere from my Java application.
I'd have <form action = "someurlprogram" method = "post">
and then maybe I'd have some input, like
<INPUT NAME="subject" TYPE="TEXT">, and maybe
<TEXTAREA NAME="message" ROWS="8" COLS="40" WRAP="PHYSICAL"></TEXTAREA>.
The idea now is to drive the web server from Java as if it was a browser.
Easy? Hard? Examples?