However, I get a ": Incompatible magic value 1008813135 in class file ImageUploaderApplet", which as far as I know and have read means that, since Tomcat can't find the applet, it's serving an error HTML page, such that the JVM tries to "interpret" it resulting in incompatible magic numbers, obviously because Java files and HTML are different.Īny pointers on how to embed a Java Applet in a Turbine dynamic page? So I have put my ImageUploader.jar file under /webapps/autos, and I'm embedding it this way: I have a Turbine project in /webapps/autos, and I need to embed an applet inside a Velocity page (which ultimately translates into a regular HTML page). Ok, I have read this thread regarding applet deployment under Tomcat, but still can't get it to work. You need a java plugin to view the applets on this site.Īlthough I have read the forum for some time now, it's my first post. To deploy an applet you place the applet's class on a webserver and use a html page with the applet tag to reference it.Īs soon as the client processes the page, the class is transferred to the client and runs there locally.įor example the folowing code in a htm page loads one of my favourite applets. Tomcat is a Servlet Container, Applets are a client side thing. Seems like you're barking up the wrong tree.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |