Hello,
 
I am trying to create an HTML file which accesses classes and applets in a jar file (demo.jar) which is in the WEB-INF/lib directory.  I seem to have problems getting it to recognise the existence of the jar file and/or more than the first applet in the jar file.  If I put the jar in a known directory, it runs but takes about 5 minutes to load.  Can anyone tell me what the values should be for codebase and archive so that it correctly finds the jar and classes.  My HTML is as follows:
 
**********************************************************************************

<HTML>

<HEAD>

<TITLE>TestKit HTML Page</TITLE>

</HEAD>

<BODY bgcolor="#CCCC99" text="#228b22">

<!--"CONVERTED_APPLET"-->

<!-- HTML CONVERTER -->

<OBJECT

classid = ""

codebase = ""

WIDTH = "100%" HEIGHT = "100%" >

<PARAM NAME = CODE VALUE = "TestKit.StartTester" >

<PARAM NAME = CODEBASE VALUE = "">

<PARAM NAME = ARCHIVE VALUE = "/lib/demo.jar" >

<PARAM NAME = "type" VALUE = "application/x-java-applet;jpi-version=1.3.1">

<PARAM NAME = "scriptable" VALUE = "false">

<PARAM NAME = "defaultPath" VALUE = "Tester/TesterDemo" />

<PARAM NAME = "defaultTestName" VALUE = "demo" />

<PARAM NAME = "Entry" VALUE="T" />

<COMMENT>

<EMBED

type = "application/x-java-applet;jpi-version=1.3.1"

CODE = "TestKit.StartTester"

JAVA_CODEBASE = ""

ARCHIVE = "/lib/demo.jar"

WIDTH = "100%"

HEIGHT = "100%"

defaultPath = "Tester/TesterDemo"

defaultTestName ="demo"

Entry ="T"

scriptable = false

pluginspage = "http://java.sun.com/products/plugin/index.html#download">

<NOEMBED>

</NOEMBED>

</EMBED>

</COMMENT>

</OBJECT>

<!--

<APPLET CODE = "TestKit.StartTester" JAVA_CODEBASE = "" ARCHIVE = "/lib/demo.jar" WIDTH = "100%" HEIGHT = "100%">

<PARAM NAME = "defaultPath" VALUE = "Tester/TesterDemo" />

<PARAM NAME = "defaultTestName" VALUE = "demo" />

<PARAM NAME = "Entry" VALUE="T" />

 

</APPLET>

-->

 

<!--"END_CONVERTED_APPLET"-->

</BODY>

</HTML>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to