?
Solved

Simulating Browser Form Post

Posted on 2001-06-29
1
Medium Priority
?
240 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 100 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

Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
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 basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
Suggested Courses
Course of the Month15 days, 21 hours left to enroll

850 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