permaculture playing cards
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 REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Serve an Applet?" Watch "Serve an Applet?" New topic

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?
It is sorta covered in the JavaRanch Style Guide.
subject: Serve an Applet?
It's not a secret anymore!