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
=======================
<%@LANGUAGE="VBSCRIPT"%>
<!--#include file="Connections/conncoop.asp" -->
<%
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
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1256">
<title>
HTML Test Page
</title>
</head>
<body>
<p> ovalparam.Oval will appear below in a Java enabled browser.<br>
<applet
codebase = "."
code = "ovalparam.Oval.class"
name = "Machine Graph"
width = "400"
height = "400"
hspace = "0"
vspace = "0"
align = "middle"
>
<PARAM NAME=image VALUE="1.jpg">
<PARAM NAME=labels_on VALUE="true">
<PARAM NAME=scale VALUE="1000">
<PARAM NAME=part_count VALUE="1">
<PARAM NAME=hours VALUE="43">
<PARAM NAME=labels VALUE="part1">
</applet>
</p>
<p>
<applet
codebase = "."
code = "ovalparam.Oval.class"
name = "Machine Graph"
width = "400"
height = "400"
hspace = "0"
vspace = "0"
align = "middle"
>
<PARAM NAME=image VALUE="1.jpg">
<PARAM NAME=labels_on VALUE="true">
<PARAM NAME=scale VALUE="1000">
<PARAM NAME=part_count VALUE="10">
<PARAM NAME=hours VALUE="800 600 700 100 1000 320 500 490 800 1200">
<PARAM NAME=labels VALUE="part1 part2 part3 part4 part5 part6 part7 part8 part9 part10">
</applet>
</p>
<p><%=(Recordset1.Fields.Item("Unit_Num"


<p> </p>
</body>
</html>
<%
Recordset1.Close()
Set Recordset1 = Nothing
%>
Edited by - magdy on 27 Dec 2002 21:03:13
^
Edited by - magdy on 30 Dec 2002 03:48:08