Results 1 to 4 of 4
- 06-28-2007, 08:13 AM #1
Member
- Join Date
- Jun 2007
- Posts
- 13
- Rep Power
- 0
- 06-28-2007, 10:05 AM #2
Do you rreally mean url or html source code of that web page?
If you mean url then you have two options. You can capture screenshot of the desktop from Java. You can do that and if your web browser is opened, you can extract the url from thie image with image processing. Obviously a difficult way. :)
Another way can be to use windows APIs to obtain the url of opened web pages. I guess Windows should have such API calls. But to be able to use those calls, you will need to develop Java wrappers for those methods. You might search for APIs for that since someone might have already developed a wrapper.
Good luck.
- 06-28-2007, 10:49 AM #3
Member
- Join Date
- Jun 2007
- Posts
- 13
- Rep Power
- 0
Thnx for replying soon.But can u give me the source code of this method if available.Thanq
- 06-28-2007, 10:56 AM #4
Similar Threads
-
How to display Tabuler Data in J2EE application on jsp page
By AMATYA-CHANAKYA in forum Advanced JavaReplies: 2Last Post: 04-23-2008, 05:54 PM -
Dynamically loading the jsp page to the application
By shekar in forum JavaServer Pages (JSP) and JSTLReplies: 3Last Post: 04-09-2008, 03:28 PM -
How to read a Web Page through java program
By Java Tip in forum java.netReplies: 0Last Post: 04-04-2008, 02:37 PM -
How Do I Embed Java Correctly To A Web Page
By abcd in forum Java AppletsReplies: 7Last Post: 01-28-2008, 07:53 AM -
redirect page within a java applet
By paul in forum Java AppletsReplies: 1Last Post: 08-07-2007, 05:11 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks