Solved

Simulating Browser Form Post

Posted on 2001-06-29
1
228 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

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…
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

932 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

13 Experts available now in Live!

Get 1:1 Help Now