Hey, I'm kinda new to applets and jsp. I want to make my applet run from Tomcat, as a plugin in a jsp page. My problem is, that when I want to load the page, the applet doesn't load. I get an error message, saying it can't find the .class file for the applet.
In Tomcat I put my prjocet folder into "webapps" folder.
In the project folder I have the .jsp file and a fodler named after the package of the applet, and it contains the appletName.class and appletName.java files.
Here is the jsp code: (jsp:plugin tag) type="applet" code="appletName.class" codebase="packageName" jreversion="1.7" width="455" height="605" (jsp:plugin tag)
The fodler system:
../webapps/projectname/packageName/appletname.class appletname.java
../webapps/projectname/app.jsp
I was trying to make this thing work all night and no I'm tired, so if I wasn't clear at some point I'll explain it again.
Thanks for any help in forwards!
In Tomcat I put my prjocet folder into "webapps" folder.
In the project folder I have the .jsp file and a fodler named after the package of the applet, and it contains the appletName.class and appletName.java files.
Here is the jsp code: (jsp:plugin tag) type="applet" code="appletName.class" codebase="packageName" jreversion="1.7" width="455" height="605" (jsp:plugin tag)
The fodler system:
../webapps/projectname/packageName/appletname.class appletname.java
../webapps/projectname/app.jsp
I was trying to make this thing work all night and no I'm tired, so if I wasn't clear at some point I'll explain it again.
Thanks for any help in forwards!