Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Serving a web page with embedded applet
Serving a web page with embedded applet [message #640251] Fri, 19 November 2010 13:30 Go to previous message
Nick Violi is currently offline Nick Violi
Messages: 1
Registered: November 2010
Junior Member
Hello,
I'm trying to create a web project that serves a web page with an embedded applet using WTP / Tomcat 6.

If I compile the applet manually and build the project manually in Tomcat it works fine, so I know there's no problem with the code or my server setup.

I think the problem might be something with the way Eclipse builds projects, like how to refer to the location of the applet from the WebContent folder.

I tried:
*referring to "../build/classes/MyApplet.class" from index.html in the WebContent folder
*manually moving the class files from build/classes to WebContent
*setting WebContent as the output folder

In all cases the applet simply does not show up. In Firefox I get a gray rectangle and the message "Start: Applet not initialized". In Chrome and Eclipse's built-in browser I just get blank space.

Can anyone give me a push in the right direction? Am I missing some configuration to give the server access to the applet? Am I not on the right track at all?
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:Problem adding tomcat6 server instance back in eclipse
Next Topic:Listening for EAR Changes
Goto Forum:
  


Current Time: Fri May 24 09:43:38 EDT 2013

Powered by FUDForum. Page generated in 0.02969 seconds