This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes Sockets and Internet Protocols and the fly likes Serve an Applet? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Serve an Applet?" Watch "Serve an Applet?" New topic
Author

Serve an Applet?

Len Padson
Ranch Hand

Joined: Nov 21, 2011
Posts: 40
Hello! I have created a webserver that uses sockets to send and receive http requests. If a certain input is received, i tell to write "<applet code='tictactoe' />" to the outputstream. But when i try to access it with a browser, the applet appears, but its constantly loading on the Java logo, so it obviously isnt finding my tictactoe.class file. my question is, what will the http input look like that requests the applet file, so i know what to respond to? and how do i respond to it with the applet?
 
jQuery in Action, 2nd edition
 
subject: Serve an Applet?