|
-
November 4th, 2008, 11:19 AM
#7
Re: Applet notinited
"applet program is in the package com.wipro.applets"
When you have an applet in a package, then the code= attribute(class= in <APPLET) must specify the package path. If you'd tested the HTML as a static file you would have seen this.
Does it work If you create a static HTML file and place it in the same folder with the jar file and open the HTML file in a browser locally, no server?
Where is the Appln.jar located on the server? When the browser reads the HTML from the server, it then issues HTTP GETs for the files referenced in the HTML. It will look for the .class file and for the .jar file using HTTP GETs. If the file is not at the address in the HTTP GET, the server will return a 404 and the browser will say the class is not found.
If you can see where the browser is asking the server to look and that is not where your jar file is, then you should move the jar file there.
Norm
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|