Re: Cannot load applet on web browser

2007-01-16 Thread Teh Noranis Mohd Aris
Thank you for the reply. I already created the LoginApplet.html and embed the LoginApplet.class. Where should I put the files in the tomcat directory? Where should I put the JSP files? How about the WEB-INF file? Please help me! I'm really short of time! Thank you so much. Yours

Re: Cannot load applet on web browser

2007-01-16 Thread Teh Noranis Mohd Aris
Yes, you are correct Mr. David Smith, I was just about to tell this matter. I did not put the LoginApplet.class in the WEB-INF. I choose to use html in the servlet because I would like to upgrade the previous system that was written in cgi. For the moment, I plan to use servlet and will upgrade

Cannot load applet on web browser

2007-01-15 Thread Teh Noranis Mohd Aris
Hi, I have created programs under the following directory: servlet program: jakarta-tomcat-4.1.31/webapps/myapp/WEB-INF/classes/AppletLogin.class applet program: jakarta-tomcat-4.1.31/webapps/myapp/applets/LoginApplet.class deployment descriptor: myapp/WEB-INF/web.xml

Re: Cannot load applet on web browser

2007-01-15 Thread Vacuum Joe
Oh my. Ok, you need to get some basic familiarity with Tomcat before you leap into that. First, your applet.class file should not be in WEB-INF. Second, don't do this as a servlet. Make a simple static HTML page work, with the applet, first. Disregard WEB-INF entirely. Getting an applet to