Solved

Simulating Browser Form Post

Posted on 2001-06-29
1
231 Views
Last Modified: 2012-06-27
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?
0
Comment
Question by:sengsational
1 Comment
 
LVL 1

Accepted Solution

by:
viswa081400 earned 25 total points
ID: 6245958
This question seems to be one similiar answered before. Check this link for info. And see if this helps.

http://itworld.experts-exchange.com/jsp/qShow.jsp?ta=java&qid=20069611

Incase you are having more problems, will be glad to help u.

good luck
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
tomcat administrtor 12 68
how to debug htl and js pages 8 57
dao vs facade design patterns 2 35
Strange router problem - can't access hotmail.com 14 55
By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
The viewer will learn how to implement Singleton Design Pattern in Java.

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question