Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Applets and URL connections.  RSS feed

 
Joel McNary
Bartender
Posts: 1840
Eclipse IDE Java Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I trying to run an applet on the Macintosh that connects to a servlet (running under Websphere) that provides data and functionality for the applet (via EJBs). The applet loads, but the second time that I try to connect to the servlet after the applet loads, it hangs (there are multiple connections to servlet made while the applet is loading).
The hang occurs while trying to get the outputStream from teh URLConnection. Here is the code:

This runs fine under Windows; it hangs on the Mac (Running IE on both). Any ideas/suggestions/requests for more info?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!