[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 227
  • Last Modified:

applets making http requests?

I have an applet that I need to get information from.  I dont really want to write a new server for it but instead use IIS and just make http request or http post.  Can that be done in an applet?.

I would like to post some data to the server depending on user request and have the IIS server return back the data so I can display the data.

Thanks
0
eric07
Asked:
eric07
1 Solution
 
landeCommented:
You should use the
java.net.URL, java.net.HttpURLConnection
classes to communicate from the
applet to the server.
But be ware: An applet can only establish connections with the server it was downloaded from, otherwise you have to sign the applet.
0
 
eric07Author Commented:
What is a signed applet anyways?
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now