> Hi Sharp Tool,
>
[quoted text clipped - 14 lines]
> Ciao,
> Ingo
I'm not sure, but looking at the source code of the Web page (link:
http://bioinfo.cis.nctu.edu.tw/service/gprm/) it seems to be Javascript, but
I'm not 100% certain.
If its Javascript, what do I need to do?
How do I find out what HTTP-Request my browser sends?
Cheers
Sharp Tool
Ingo R. Homann - 29 Jul 2005 10:34 GMT
Hi,
> I'm not sure, but looking at the source code of the Web page (link:
> http://bioinfo.cis.nctu.edu.tw/service/gprm/) it seems to be Javascript, but
> I'm not 100% certain.
Perhaps you may ask this in a javascript-newsgroup? ;-)
Sorry, but if you are unable to findout *that*, I am not sure if you
will be able to write such a java-program...
> If its Javascript, what do I need to do?
Build a javascript-interpreter in java! ;-)
No, indeed it should be sufficient to do find out what HTTP-Request your
browser sends.
> How do I find out what HTTP-Request my browser sends?
Use a proxy or something like that or use some functionality of your
browser. (In the easiest case, look at the "URL"-field of your browser)...
Anyway, this is in no way java-specific and OT here.
Ciao,
Ingo
Andrew Thompson - 29 Jul 2005 11:54 GMT
> "Ingo R. Homann" <ihomann_spam@web.de> wrote in message
>>> I would like to use Java to connect to a Web page.
>>> This Web page contains a button, which when clicked opens a dialog box
[quoted text clipped - 9 lines]
>> Try to find out, what HTTP-Request(s) your Browser sends to the server.
>> Then, it's not difficult to emulate it using the java.net.URL class.
..
> I'm not sure, but looking at the source code of the Web page (link:
> http://bioinfo.cis.nctu.edu.tw/service/gprm/) it seems to be Javascript,
That JS is unnecessary to the form iteslf - it merely
adds pop-up tips and a 'clear' button. The form is
functional without it (as far as I can tell)
You could reproduce it in anything from pure HTML to a
JWS Swing GUI, all you need to do is make a form/GUI
that looks like that. The values are the same as the
textual labels.
Then, once you have your information, append it to an
URL and make a POST to the target and you are there.
Of course, all this will be much easier in consultation with
the *author* of the page, who's email is clearly listed there.
What does the author have to add to this?
>..but I'm not 100% certain. If its Javascript, ..
It is. Or rather, it is a smattering of JS to add 'extra bits'
to an otherwise fully functional HTML form element.
>..what do I need to do?
Learn how to program (or how to write HTML).

Signature
Andrew Thompson
physci.org 1point1c.org javasaver.com lensescapes.com athompson.info
LOADING....