• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Tim Cooke
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
Saloon Keepers:
  • Piet Souris
Bartenders:

Java Plug-in throws JScript "Object Expected" error

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am trying to embed an applet in a page using the object tag. When the page load, I get a JScript (not JavaScript) runtime error saying "Object expected." It is nothing like your regular JavaScript error dialog. It looks more like a JS alert pop-up, with no line numbers or anything else. The applet runs properly though.
All machines I've tested on are Win2K. I get this pop-up in some machines but not in others. It is not related to browser settings.
I am wondering if someone has ever seen this problem before and, if so, if they were able to solve it.
Thank You,
Heitor
 
Heitor Bembom
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Just to clarify it more. It is also not a JavaScript issue, since I stripped the page of all the code and just left the HTML code for the object tag in there. Also, the applet is not calling any JavaScript methods or triggering any browser events.
 
Ranch Hand
Posts: 1873
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
can u pleaze post ur html code here?
also , did u try on Netscape browser? (may be on newer versions)?
regards
maulin
 
Heitor Bembom
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Here it goes....
Netscape is not supported by my client.
<HTML>
<HEAD>
<TITLE></TITLE>
<!--version 1.2.3-->
</HEAD>
<BODY bgColor=white leftMargin=0 topMargin=0 marginheight="0" marginwidth="0">

<OBJECT name=dRev classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" WIDTH=1 HEIGHT=1>
<PARAM NAME=CODE VALUE="DMDDR.class">
<PARAM NAME=ARCHIVE VALUE="DReview.jar">
</OBJECT>
</body>
</HTML>
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I know it has been a long long time. Did you ever resolve this issue? I'm seeing the same issue on some of my systems.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic