Hi All:
Can anyone please tell me how to initialize and work
with a COM object in JSP??
Alternatively, I am trying to instantiate the COM
objects in the client using the <OBJECT>...</OBJECT>
tag... example below:
<OBJECT id="COMDriver" name="COMDriver"
onerror="loadError('Error')"
classid="clsid:298B95E4-23C2-4D52-BEDF-C235230ABB48"
codebase="" VIEWASTEXT>
<PARAM NAME="_Version" VALUE="1">
<PARAM NAME="_ExtentX" VALUE="2646">
<PARAM NAME="_ExtentY" VALUE="2646">
<PARAM NAME="_StockProps" VALUE="0">
</OBJECT>
<SCRIPT LANGUAGE="JavaScript" FOR="COMDriver"
EVENT="OnTimeout()">
alert("Timed Out");
</SCRIPT>
OnTimeout() is a method in the API of the COMDriver. I
am able to get an instance of the COMDriver running in
the client but I am unable trap the event or in other
words am not getting the "Timed Out" alert. I used a
similar code with a cab file activeX control and
included the source in the codebase and worked like a
charm. Do i need to be doing anything different to
trap the events of the instantiated COMDriver object??
PLEASE HELP!
Thanks in advance
Abhilash Nair
__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com
To change your JDJList options, please visit: http://www.sys-con.com/java/list.cfm