Home arrow static arrow Java Programming [Archive] - web access from within a java program
Warning: Creating default object from empty value in /www/htdocs/w008deb8/wiki/components/com_staticxt/staticxt.php on line 51
Java Programming [Archive] - web access from within a java program
This topic has 6 replies on 1 page.

Posts:65
Registered: 6/21/04
web access from within a java program  
Aug 5, 2004 12:46 PM



 
Does anyone know how I can access a particular website from within a java program and perform some operations on it?
 

Posts:105
Registered: 6/8/04
Re: web access from within a java program  
Aug 5, 2004 1:01 PM (reply 1 of 6)



 
Check the API's; look at URLConnection.

What kind of operations are you trying to perform on what kind of files, though?
 

Posts:65
Registered: 6/21/04
Re: web access from within a java program  
Aug 5, 2004 1:29 PM (reply 2 of 6)



 
I am trying to hit buttons, select items from a menu, as well as use a "browse" command to input a file.
 

Posts:105
Registered: 6/8/04
Re: web access from within a java program  
Aug 5, 2004 1:32 PM (reply 3 of 6)



 
I am trying to hit buttons, select items from a menu, as well as use a "browse" command to input a file.

Wait, so, for instance, you want to make a program that will, say, go to this forum, fill out a form for posting a message, and click the post button... all from an applet or application? Or something of that sort? 'Cause I reckon 'twould be pretty hard to do that (if it's possible)...
 

Posts:65
Registered: 6/21/04
Re: web access from within a java program  
Aug 5, 2004 2:05 PM (reply 4 of 6)



 
yep, that's what I am trying to do. I looked at the API's and haven't found anything other than methods for reading from websites.
 

Posts:266
Registered: 9/29/02
Re: web access from within a java program  
Aug 5, 2004 2:14 PM (reply 5 of 6)



 
Why don't you do this.

Put all those forms online. Then in your program have it open up a browser display inside your program that calls the pages and gives the feel of being inside your program.

-Wiley
 

Posts:37,103
Registered: 3/30/99
Re: web access from within a java program  
Aug 5, 2004 4:15 PM (reply 6 of 6)



 
[url http://forum.java.sun.com/thread.jsp?forum=31&thread=544380]Double Post[/url]
 
This topic has 6 replies on 1 page.