Hi, I'm an undergraduated student working on my final year project on Web exploration. My application needs to read the address bar of a browser and detect when the browser moves to another page. Is there anyway to do that with browsers like IE or Netscape? If not, then I guess I need a browser written in Java (along with the source code) so that I can work a little on the code, right? I've tried looking at Jazilla (a Java version of Mozilla), JoZilla, and Multivalent (written by Tom Phelps of UC Berkeley) but none of them satisfied my need. Either the project is not finished yet, or still have some bugs. Does anyone here have successfully built a Java based browser that I need? It doesn't have to be as complicated as IE, but at least it can view HTML documents, some pictures, and set the proxy server. Thank you very much. -Intan Y. Purbasari
I'm a bit unclear here. Are you looking to create a utility or service that monitors other processes on the PC, detects which is a browser and then tracks what URLs are being accessed from that browser? Or are you talking about an application that invokes a browser and then monitors what happens in that browser? Or are you talking about running a servlet or applet in a browser and then detect when the user trys to go to a different page than that which is currently running? I'm just not sure what the question is here.
"JavaRanch, where the deer and the Certified play" - David O'Meara
Intan Y. Purbasari
Joined: Apr 17, 2003
We wanted to do things like that and some more, and wound up using JNI to call a C++ wrapper that cals the IE Active-X component. As a benefit, it could all be dropped into a Swing GUI or run outside. Not an easy road. There are a couple Java language browsers around. One called ICE or Ice Storm was getting the most press for a while, but we didn't like it or the company much. Try a Google search for others.
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi