Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Embedding an applet
Embedding an applet [message #170279] Sun, 28 May 2006 14:06
Eclipse User
Originally posted by: lordjoker.wp.pl

Dear Java Developers,

I have a simple project with the following Eclipse structure:

-JavaSource (java files and packages)
-WebContent\WEB-INF\jsp (jsp files)

In the JavaSource hierarchy I have an applet:

public class MapaApplet extends Applet {

@Override
public void init() {
setSize(500, 450);
}

@Override
public void paint(Graphics g) {
g.drawString("Mapa", 100, 100);
}
}

Now I need to embed this applet into one of the jsp page in WebContent. Can you tell me how can I embed this applet using jsp:plugin tag? I don't know how to indicate the right url to the applet. I am using Tomcat server.
Previous Topic:Problem for loading server definitions file for Generic Application Server
Next Topic:Obfuscation of Eclipse Plugin
Goto Forum:
  


Current Time: Wed Aug 27 09:11:26 EDT 2014

Powered by FUDForum. Page generated in 0.12794 seconds