views:

407

answers:

2
+6  Q: 

mechanize for Java

Hi,

I was wondering if there is something like Perl's/Python's mechanize for Java.

Thanks!

A: 

Are you thinking of a generalized web client, like HttpClient?

Edwin Buck
more like HttpClient + TagSoup + Rhino all in one package with an easy-to-use API.
Bubbles
Thanks. I almost forgot about TagSoup.
Edwin Buck
+3  A: 

Take a look at HtmlUnit. It is similar to Perl's WWW::Mechanize. There is also a Perl version of it named WWW::HtmlUnit (it uses Inline::Java to expose the Java library's methods to Perl).

Chas. Owens
HtmlUnit looks interesting, thanks!
Bubbles