This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan 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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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?
 
Similar Threads
where is picture ?
Applet cached somewhere
Networking Safety
how to print data from servlet to hp-printer
Wish Clear HTTP POST XML Example