Solved

Simulating Browser Form Post

Posted on 2001-06-29
1
230 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: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

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…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:

790 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