You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Sivashanmuganathan, Sundaranathan (Cognizant)" <Su...@cognizant.com> on 2005/11/11 11:20:15 UTC

.Net Usercontrol in Tomcat Server is not getting downloaded in IE

Hi All,



First of all please forgive if it is a duplicate post. I tried searching
the archives but I am not able to find one.



Here is my problem:-



I have created and compiled a dll( that has a user control in it) using
the .Net Framework ( Class Library Template ). Then Created a HTML Page
embedding the .Net user controls in HTML object tag. But the user
control is not getting downloaded in IE 6.0 the dll is placed along with
the HTML in the ROOT directory of Tomcat Web Server. And my HTML looks
as the one shown below.



<Html>
<Body>
<Center>
<object id="container" name="container" width="300" height="300"
classid="http://localhost:8080/UserCompTest.dll#UserCompTest.UserCompTes
t"
codebase="http://localhost:8080/UserCompTest.dll">
</object>
</center>
</body>
</html>


Also I have added a mime typing in web.xml file of the
<TOMCAT_HOME>/conf directory for dll download as shown below:

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


Also in the trusted sites of IE I have added my server's link. And
finally when I accessed my html using this URL :
"http://localhost:8080/NBFinal.html" the user control is not getting
downloaded.



Can anyone please throw some light on this? Also please let me know
whether I am doing something wrong.



Thanks,
-Sundar.



This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information.
If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.
Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email or any action taken in reliance on this e-mail is strictly
prohibited and may be unlawful.

  Visit us at http://www.cognizant.com