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.
*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?