• 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
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

HELP!!! java and activex Control

 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All

I have a action class from which I have to load a web page with a activex control.
I�m using xml,xslt as the front end. I�ve to pass xml string to this activex control. How do I do it and how do I embed activex control in the web page.
Plz mail me the sample code.


regards
Neha
 
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This is really an HTML question neha gowda, so you would probably get more help in that forum. Typically I believe you would use either param tags in conjunction with your object tag, or use the data attribute of the object tag to specify the xml. Without knowing anything about what params your activex control takes, I can't be any more specific.
 
neha gowda
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Paul Sturrock .

<OBJECT CLASSID="clsid:5220cb21-c88d-11cf-b347-00aa00a28331" id="Microsoft_Licensed_Class_Manager_1_0">
<PARAM NAME="LPKPath" VALUE="resources/images/Bg/IDePNA41.lpk"/>
</OBJECT>
<OBJECT ID="ctlPNATool" CLASSID="clsid:1219640C-63C5-47C7-9834-7171B5426070" CODEBASE="resources/images/Bg/IDePNA41.CAB#version=2004,100,0,1202">
<PARAM NAME="_ExtentX" VALUE="26452"></PARAM>
<PARAM NAME="_ExtentY" VALUE="10000"></PARAM>
</OBJECT>

this is the code I have in my XSL to display the Activex Control.It works fine .Activex control takes xml data as input.I've generated the xml but don't know how to feed xml data to the activex control. I need help in handling http request of the activex control.

regards
Neha gowda
 
Paul Sturrock
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There are two ActiveX controls there. Include nested <param /> tags. Your input data can probably be passed to the control with a param tag - either by writing the whole document into a tag (remember to CDATA it, if you have to do this), or by passing a url to your document saved as a file on the server. Check the documentation for the ActiveX control(s) to see if you can do either of these (and what name the params require).
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic