File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes General Computing and the fly likes URL monitor Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » General Computing
Reply Bookmark "URL monitor" Watch "URL monitor" New topic
Author

URL monitor

abalfazl hossein
Ranch Hand

Joined: Sep 06, 2007
Posts: 602
How to monitor what user writes on browser address bar and record it by JAVA?
Wouter Oet
Saloon Keeper

Joined: Oct 25, 2008
Posts: 2700

You can't. It's a different program and you can't access it's memory.
Maybe you can write a plugin/extension or you can monitor the network for out going requests.
But I really doubt that that can be done in Java.


"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
abalfazl hossein
Ranch Hand

Joined: Sep 06, 2007
Posts: 602
Which programming language can do that?
Wouter Oet
Saloon Keeper

Joined: Oct 25, 2008
Posts: 2700

None. The operating system is in charge over memory management and will not allow you to read another programs memory. They go to great lengths to prevent this. The language of the plugin depends on the browser (I guess). What are you trying to accomplish? Because maybe we can suggest another solution.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 32673
    
    4
Sounds too difficult for "beginning Java". I shall move this, maybe to "general computing".
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: URL monitor
 
Similar Threads
WA #1.....word association
Problem connecting to Server
which pattern is used in Threading model of Java ?
Transaction
Synchronize