TomcatExpert

Silverlight XAP file

How do i run silverlight(xap file) app on apache tomcat?

asked by

question

A Silverlight XAP file is just a ZIP formatted archive of the Silverlight application - which being a client side technology doesn't need much in the way of server support.

You'll need to add the mime-type for .xap, which is "application/x-silverlight-app" to one of the web.xml files.  It's usually preferable to add it to your application deployment descriptor, in <yourapp>/WEB-INF/web.xml.

 <mime-mapping>
  <extension>xap</extension>
  <mime-type>application/x-silverlight-app</mime-type>
 </mime-mapping>

answer

answered by pidster on August 12, 2010 10:31 AM

Stuart Williams is a Senior Consultant for the SpringSource Division of VMware, Inc. (NYSE: VMW). Stuart has been a Tomcat user for 6 years and is a regular contributor to the Apache Tomcat Users mailing list, and is also a committer on the Apache Amber OAuth project.

Comments

Post new comment

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image.