Forums

This topic is locked

applet problems >:

Posted 27 Dec 2002 19:36:55
1
has voted
27 Dec 2002 19:36:55 magdy AlTarouti posted:
hi everyone...a beginer here <img src=../images/dmxzone/forum/icon_smile_wink.gif border=0 align=middle>

am using DW mx , ASP , VBScript and IIS on WinXP

i developed an applet to use in my project. the applet works fine when put in a html page or an .ASP page without any dynamic data but NOT on .ASP with any Databindings .the error page says:

oval.class not found

i checked that all applet files are in the correct directory and are uploaded to the server ;and installed the latest java run time

any help ,hints would be great!! i have tried another applet it also dosnt work and also displays a great looking red X
below is the page code
=======================

&lt;%@LANGUAGE="VBSCRIPT"%&gt;
&lt;!--#include file="Connections/conncoop.asp" --&gt;
&lt;%
Dim Recordset1
Dim Recordset1_numRows

Set Recordset1 = Server.CreateObject("ADODB.Recordset"
Recordset1.ActiveConnection = MM_conncoop_STRING
Recordset1.Source = "SELECT * FROM MW301G_Combustor_Baskets"
Recordset1.CursorType = 0
Recordset1.CursorLocation = 2
Recordset1.LockType = 1
Recordset1.Open()

Recordset1_numRows = 0
%&gt;
&lt;html&gt;
&lt;head&gt;
&lt;meta http-equiv="Content-Type" content="text/html; charset=windows-1256"&gt;
&lt;title&gt;
HTML Test Page
&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;p&gt; ovalparam.Oval will appear below in a Java enabled browser.&lt;br&gt;
&lt;applet



codebase = "."
code = "ovalparam.Oval.class"
name = "Machine Graph"
width = "400"
height = "400"
hspace = "0"
vspace = "0"
align = "middle"
&gt;
&lt;PARAM NAME=image VALUE="1.jpg"&gt;
&lt;PARAM NAME=labels_on VALUE="true"&gt;
&lt;PARAM NAME=scale VALUE="1000"&gt;
&lt;PARAM NAME=part_count VALUE="1"&gt;
&lt;PARAM NAME=hours VALUE="43"&gt;
&lt;PARAM NAME=labels VALUE="part1"&gt;
&lt;/applet&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;applet



codebase = "."
code = "ovalparam.Oval.class"
name = "Machine Graph"
width = "400"
height = "400"
hspace = "0"
vspace = "0"
align = "middle"
&gt;
&lt;PARAM NAME=image VALUE="1.jpg"&gt;
&lt;PARAM NAME=labels_on VALUE="true"&gt;
&lt;PARAM NAME=scale VALUE="1000"&gt;
&lt;PARAM NAME=part_count VALUE="10"&gt;
&lt;PARAM NAME=hours VALUE="800 600 700 100 1000 320 500 490 800 1200"&gt;
&lt;PARAM NAME=labels VALUE="part1 part2 part3 part4 part5 part6 part7 part8 part9 part10"&gt;
&lt;/applet&gt;
&lt;/p&gt;
&lt;p&gt;&lt;%=(Recordset1.Fields.Item("Unit_Num".Value)%&gt;&lt;%=(Recordset1.Fields.Item("Date2".Value)%&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;/body&gt;
&lt;/html&gt;
&lt;%
Recordset1.Close()
Set Recordset1 = Nothing
%&gt;





Edited by - magdy on 27 Dec 2002 21:03:13

^

Edited by - magdy on 30 Dec 2002 03:48:08

Reply to this topic