Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.help > #1008

Re: Web-based forms, Auto-Fill / Auto-Activate

From Jeff Higgins <jeff@invalid.invalid>
Newsgroups comp.lang.java.help
Subject Re: Web-based forms, Auto-Fill / Auto-Activate
Date 2011-09-04 15:12 -0400
Organization A noiseless patient Spider
Message-ID <j40idg$t8f$1@dont-email.me> (permalink)
References <ee3a472e-8abb-4cc6-8a38-8c603ac79726@1g2000vbu.googlegroups.com> <j3ucoe$qjn$1@dont-email.me> <j3vf5r$t2c$1@dont-email.me>

Show all headers | View raw


On 09/04/2011 05:11 AM, Jeff Higgins wrote:
> On 09/03/2011 07:24 PM, Jeff Higgins wrote:
>> On 09/03/2011 04:46 PM, Peter Raeth wrote:
>>> Am looking for an example, book, article, or other documentation that
>>> would illustrate how to programmatically fill in a web-based form,
>>> submit the form, and collect the results.
>>>
>>> Thank you very much for any insights you can offer.
>>
>> If this link does not help with what you are looking for, please be more
>> specific.
>> <http://hc.apache.org/httpcomponents-client-ga/tutorial/html/>
>
> Here is an HTML parser:
> <http://jericho.htmlparser.net/docs/index.html>
>
> With these two components you can go a long way with web-based forms,
> provided they are in the form of standard HTML Forms:
> <http://www.w3.org/TR/html4/interact/forms.html>
>
> Custom tags and scripts will add much complexity.
>
> If your intent is to automate your existing browser, you will need to
> see the documentation for your browser's API.
>
>
Another alternative might be shell scripting and available tools:

$ telnet www.lotto.invalid 80

$ GET /monday/checkwinningnumber.html?number=1010111 HTTP/1.0

<html><head><body>So sorry. Please try again</body></head></html>

Back to comp.lang.java.help | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Web-based forms, Auto-Fill / Auto-Activate Peter Raeth <peter_raeth@juno.com> - 2011-09-03 13:46 -0700
  Re: Web-based forms, Auto-Fill / Auto-Activate Jeff Higgins <jeff@invalid.invalid> - 2011-09-03 19:24 -0400
    Re: Web-based forms, Auto-Fill / Auto-Activate Jeff Higgins <jeff@invalid.invalid> - 2011-09-04 05:11 -0400
      Re: Web-based forms, Auto-Fill / Auto-Activate Jeff Higgins <jeff@invalid.invalid> - 2011-09-04 15:12 -0400
        Re: Web-based forms, Auto-Fill / Auto-Activate Peter Raeth <peter_raeth@juno.com> - 2011-09-05 10:01 -0700
          Re: Web-based forms, Auto-Fill / Auto-Activate Jeff Higgins <jeff@invalid.invalid> - 2011-09-05 15:17 -0400
            Re: Web-based forms, Auto-Fill / Auto-Activate Peter Raeth <peter_raeth@juno.com> - 2011-09-17 13:03 -0700
  Re: Web-based forms, Auto-Fill / Auto-Activate markspace <-@.> - 2011-09-03 19:24 -0700

csiph-web