A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
Arduino in Action
this week in the
General Computing
forum!
A special promo:
Enter your blog post or vote on a blogger to be featured in an upcoming Journal
JavaRanch
»
Java Forums
»
Java
»
Java in General
Author
Http Form Post Through Java Code
Zubair Ashraf
Greenhorn
Joined: Jan 17, 2010
Posts: 1
posted
Jan 26, 2010 10:10:06
0
Actually I want to submit a html Form through
java
code.
i use Apache HttpClient API Post method for this but when i send the request it return me same page with filled form instead of submitting it.
When i open that Html Form which i want to submit through java code i came to know that it has a ajax call to submit.
i want to know how can i send that ajax call also from java code .
i will really appreciate any help in this regard.
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35439
9
posted
Jan 26, 2010 10:12:20
0
Welcome to JavaRanch.
HTTP/HTML client libraries like HtmlUnit and jWebUnit support JavaScript in web pages, whereas HttpClient does not.
Android apps
–
ImageJ plugins
–
Java web charts
I agree. Here's the link:
http://ej-technologies/jprofiler
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: Http Form Post Through Java Code
Similar Threads
jQuery ajax on click of href
How do I retrieve Javascript values from a Java servlet?
call java code from javascript
How to capture enter key?
Struts 1.1 forward mapping problem
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter