File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Sockets and Internet Protocols and the fly likes Applets and URL connections. Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Reply Bookmark "Applets and URL connections." Watch "Applets and URL connections." New topic
Author

Applets and URL connections.

Joel McNary
Bartender

Joined: Aug 20, 2001
Posts: 1815
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?


Piscis Babelis est parvus, flavus, et hiridicus, et est probabiliter insolitissima raritas in toto mundo.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Applets and URL connections.
 
Similar Threads
please help,very urgent..applet-servlet communication..
how to pass parameters from a serlet to an applet
IO exception
Applets on Apples (yum...)
please help..very urgent,applet-servlet communication