Solved

Simulating Browser Form Post

Posted on 2001-06-29
1
226 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
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Logs to delete in Windows VCenter server ? 11 156
count8 challlenge 13 84
word0 challenge 3 55
Java passing arguments (type error) 2 33
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 second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
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:
The viewer will learn how to implement Singleton Design Pattern in Java.

762 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now