I am trying to develop an application that needs to load an object (applet)
from the server. The server is Apache24 running on Windows XP. I am getting
a "Class not found exception. I am running the Firefox browser on the same
machine. Here is the page:

<!DOCTYPE html>

<html>

            <head>

                        <meta http-equiv="Content-Type" content="text/html;
charset=utf-8">

                        <meta name="viewport" content="width=640">

            </head>

            <body>

                        Hello to all...

                        <object width="400" height="50"
archive="TestPlugin-1.jar" 

                                    classid="java:TestPlugin1.class"
codetype="application/java">

                                    Plug-in Object </object>

            </body>

</html>

 

The "Hello to all." displays. The rectangle for the object displays, but the
content is a message (Error. Click for details) that directs to display the
not-found exception. Here is 'DocumentRoot "c:/Apache24/htdocs"':

 

08/28/2013  05:33 PM    <DIR>          .

08/28/2013  05:33 PM    <DIR>          ..

08/28/2013  05:14 PM             3,119 com-compaps-testPlugin.jar

06/14/2013  04:58 PM                78 index.htm

06/14/2013  04:30 PM                46 index.html

08/26/2013  05:19 PM               826 simplePage.htm

08/26/2013  05:18 PM               826 simplePage.php

08/25/2013  12:57 PM                79 test-1.php

08/29/2013  01:51 PM               366 test.htm

08/25/2013  12:56 PM               254 test.php

08/28/2013  05:38 PM               297 test.shtml

08/28/2013  05:32 PM             1,339 TestPlugin-1.jar

 

Here is the manifest for TestPlugin-1.jar:

 

Manifest-Version: 1.0

Ant-Version: Apache Ant 1.8.4

Created-By: 1.7.0_21-b11 (Oracle Corporation)

Class-Path: 

X-COMMENT: Main-Class will be added automatically by build

Main-Class: com.compaps.TestPlugin1

 

The jar contains com.compaps.TestPlugin1.class

 

Thanks,

Wes

Reply via email to