Solved

applets making http requests?

Posted on 2000-05-14
2
204 Views
Last Modified: 2010-04-01
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
Comment
Question by:eric07
2 Comments
 

Accepted Solution

by:
lande earned 10 total points
ID: 2809945
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
 

Author Comment

by:eric07
ID: 2811305
What is a signed applet anyways?
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

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

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
object oriented programming comparison 5 77
MySqlDump not dumping triggers 1 43
CSV file parsing thru Java 13 34
hashmap order 17 37
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question