Embedding an applet [message #170279] |
Sun, 28 May 2006 18: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.
|
|
|
Powered by
FUDForum. Page generated in 0.04040 seconds