Hi Paul, I tried using the WEB-INF/classes in the codebase it didnt work, i have the same error.
even tried placing the examapplet.class in the same folder as my jsp, that didnt work either.
any other suggestions?
Hi Guys, I would deeply appreciate any help from you.
In short, my applet does not load when i call it from jsp page.
I am using eclipse juno,Apache tomcat 7.x as the environment to develop the program.
the following is my jsp page. (examApplet.jsp)
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
I know i am messing up in the codebase part of the plug in.
the error is the same if i run the application on eclipse or export it to a war file and deploy it in apache.
i have tried both the <applet> tag and the <jsp:Plugin> tag, the applet tag displays nothing on the page where as the jsp:Plugin tag shows an empty box which loads the java run-time plugin on the browser and pops up a message saying class not found error.
my file system on eclipse is:
classes(all .class files are in this folder)
(contains all my .java files)
(contains all the.jsp files)
the file system on creating a .war file is:
(contains all .jsp files and images needed)
classes(Contains all class files)
it is only the plugin function that doesnot work, the applet runs on its own if run as a java applet on eclipse.
I am not a pro at programming, i have really hit a roadblock. any help as soon as possible would be really appreciated.
attaching the screenshot of the webpage on the eclipse browser