0 Replies Latest reply on Apr 27, 2005 10:53 AM by cli

    Embedded Windows User Control

    cli

      Hi,
      I'm trying to embed a C# control in a HTML page - to work something akin to an ActiveX control. I can get this to work with IIS web server but not with jboss. It's embedded in the html page as follows,

      <html>
       <body>
       <object id="mycontrol" height="472" width="488"
       classid="http://127.0.0.1/MyControl.dll#controls.mycontrol">
       </object>
       </body>
      
      <script language="JavaScript">
      <!--
      
      window.open = SymRealWinOpen;
      
      //-->
      </script>
      
      </html>


      When this html page is accessed from the JBOSS server, the control is not displayed. I think that the dll is located ok, (i've tried referencing a dll that isn't there and what appears in my browser looks different). I've tried putting

      <mime-mapping>
      <extension>dll</extension>
      <mime-type>application/x-msdownload</mime-type>
      </mime-mapping>


      in the web.xml file, but that doesn't seem to help

      Any suggestions would be much appreciated.