-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Goran,

Goran Jambrović wrote:
| i tried your advice, and it didn't help.

If you want to grab content from a remote URL and display it in a web
browser, why are you even bothering to get it yourself? Just build the
target URL and send a browser to it! The browser will go fetch the data
and display it perfectly well.

Invoking the browser is sometimes problematic, though. On win32, you can
simply "run" the URL and you'll get whatever the default web browser is
to load your page. On /some/ Linux systems, the same is true, but I
wouldn't count on it. If you don't know what system you're on (because
anyone can use your "client"), then you will have to have the user pick
which program to use as the browser and then execute that with your URL
parameter.

I'm pretty sure that, no matter what, you can't download a response,
fire up a web browser, and jam the content into the page. The best you
could do is write yourself a proxy-like piece of code that would accept
requests on http://localhost:1234/ or something and forward them to your
remote server. In that case, I'm not even sure why you have a
client-side piece in the first place.

This whole thing is very confusing.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAke9j7QACgkQ9CaO5/Lv0PCXDQCePcJJSVmFUkosFP7AsR+L93YV
bZkAn3lmebULR455Q0OK1imnPWiNataG
=59/c
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to