Hello,
This is my third try at this posting. Something must be wrong with my
setup. Here's one last try. I'm looking for a Java HTML parser that will let
me parse checkbox names/values as well as their text labels. I need to write
a Java program that GETs a web page, processes it, then POSTs the desired
choices. I have seen many good parsers, but none that let me do what I want
without a lot of fuss.
TIA,
Adam
John Bailo - 14 Dec 2005 05:38 GMT
> This is my third try at this posting. Something must be wrong with my
> setup. Here's one last try. I'm looking for a Java HTML parser that will let
> me parse checkbox names/values as well as their text labels. I need to write
> a Java program that GETs a web page, processes it, then POSTs the desired
> choices. I have seen many good parsers, but none that let me do what I want
> without a lot of fuss.
Why don't you use a Regex with a Matches group to extract that
information from the HTML -- write your own parser basically.
Thomas Weidenfeller - 14 Dec 2005 10:27 GMT
> Hello,
>
> This is my third try at this posting. Something must be wrong with my
> setup.
And it is the third time I see it. Was there anything wrong with the
previous eight or so answers you got?
/Thomas

Signature
The comp.lang.java.gui FAQ:
ftp://ftp.cs.uu.nl/pub/NEWS.ANSWERS/computer-lang/java/gui/faq
http://www.uni-giessen.de/faq/archiv/computer-lang.java.gui.faq/
Chris Uppal - 14 Dec 2005 11:13 GMT
> > This is my third try at this posting. Something must be wrong with
> > my setup.
>
> And it is the third time I see it. Was there anything wrong with the
> previous eight or so answers you got?
Presumably he can't see them any more than he can see his own posts.
(FWIW, I've emailed him directly to say that his posts /are/ showing up, I
daresay I'm not the only one to do so...)
-- chris
Cos - 15 Dec 2005 18:10 GMT
Hey.
Try to google this thing
HTMLEditorKit.ParserCallback
Not the best HTML parser ever but it does job.
Cos
Adam - 17 Dec 2005 00:52 GMT
Hello all,
I finally got to see my post and all your kind responses. I still don't
have a good answer to my original post though. I am looking for a Java HTML
parser that would let me decode all the names, values and labels of a bunch
of checkboxes on a web page. I then want to present the info to my user and
POST a response. I guess what I am after is more like a simple interpreter
or browser. This is a labor of love for my wife actually. We homeschool our
children using a curriculum from Bob Jones University. They broadcast their
classes over satellite and have a web site to indicate schedules and such. I
want to be able to GET the class options and POST her choices
programmatically. I already have code that can digitally record the shows.
What I am missing is the ability to download and process the schedules.
TIA,
Adam
> Hello,
>
[quoted text clipped - 7 lines]
> TIA,
> Adam
timothy ma and constance lee - 10 Dec 2007 03:03 GMT
Sirs/Madams
I am writing images downloading program. And I would like to show a progress
bar so that I may know how many percentage of images having been downloaded.
Any clue on it?
Thanks