wood burning stoves 2.0*
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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP 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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Serve an Applet?