aspose file tools*
The moose likes Applets and the fly likes How to submit HTTP requests from an applet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "How to submit HTTP requests from an applet" Watch "How to submit HTTP requests from an applet" New topic
Author

How to submit HTTP requests from an applet

Mark Ashworth
Greenhorn

Joined: Nov 02, 2000
Posts: 11
Good Day,
I would like to create an java applet that functions like a toolbar. It will have buttons for certain functions. When the button is pressed, I want it to submit an url to the server. The server will process the request and post the reponse. It would be helpful if I could specify which frame is the target of the response.
Is there an object/api that specifies the browser that the applet is living in?
Regards,
Mark Ashworth
maateen
Greenhorn

Joined: Dec 18, 2000
Posts: 23
Would u plz specify that if u are running ur applet from browser or from appletviewer
but i can help U out if u r running ur applet from appletviewer
do make a URLConnection
or see the documentation of URLConnection class
reply if U could not solve it out
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to submit HTTP requests from an applet