Solved

applets making http requests?

Posted on 2000-05-14
2
197 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

For customizing the look of your lightweight component and making it look lucid like it was made of glass. Or: how to make your component more Apple-ish ;) This tip assumes your component to be of rectangular shape and completely opaque. (COD…
By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

911 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now