Hi I have a simple JSP/HTML page that contains an embedded MapGuide ActiveX viewer plug-in. When deployed in JBoss 3.2.3 it cannot communicate with a MapGuide server. However there is no problem under "JBoss-2.4.1_Tomcat-3.2.3". Please help as I am trying to port the app from the older JBoss to the latest and this is causing lots of headache... ;(
the partial code in the JSP is:
<object id="mgMap" width="100%" height="100%" classid="CLSID:62789780-B744-11D0-986B-00609731A21D" codebase="ftp://adeskftp.autodesk.com/webpub/mapguide/ver6/viewer/en/mgaxctrl.cab#Version=6,0,2,2"> <PARAM NAME="URL" value="abc.mwf"> <PARAM NAME="ToolBar" VALUE="On"> <embed SRC="abc.mwf" ALIGN="baseline" BORDER="0" WIDTH="100%" HEIGHT="100%" NAME="mgMap" TYPE="application/x-mwf"> </object>
SOLVED:
Just had to add the correct MIME type to web.xml
<mime-mapping>
mwf
<mime-type>application/x-mwf</mime-type>
</mime-mapping>