<p>I just downloaded the BIRT Viewer Toolkit and deployed the .war file on my local Tomcat 6 server. Everything looks normal except the jsapi. </p><p> </p><p>I first noticed that the test page <a data-ipb='nomediaparse' href='
http://host:8080/newBIRTViewerToolkit/'>http://host:8080/newBIRTViewerToolkit/</a> does not show the sample reports. Looking at the source I see the line <span><<span>script</span> <span>type</span>='<a class="">text/javascript</a>' <span>language</span>='<a class="">JavaScript</a>' <span>src</span>="<a class="">/<span class='bbc_underline'>newBIRTViewerToolkit</span>/jsapi</a>"></span><span></<span>script</span>> but the jsapi folder does not exist there. I found it in the iportal folder.</span></p><p> </p><p><span>Changing the landing.jsp page to read </span></p><pre class="_prettyXprint _lang-js"><script type='text/javascript' language='JavaScript' src="<%=request.getContextPath( ) + "/iportal/jsapi"%>"></script><script type='text/javascript'> function init( ){ actuate.load('viewer'); actuate.initialize( "<%=request.getContextPath( )%>/iportal", null,null,null,myInit ); } function myInit(){ viewer1 = new actuate.Viewer( 'container1' ); viewer1.setReportDesign('/test.rptdesign'); viewer1.setSize(1025,1000); viewer1.submit( ); viewer2 = new actuate.Viewer( 'container2' ); viewer2.setReportDesign( '/test.rptdesign' ); viewer2.setReportletBookmark( 'myChart' ); var options2 = new actuate.viewer.UIOptions( ); options2.enableToolBar(false); viewer2.setUIOptions( options2 ); viewer2.setSize(475,300); viewer2.submit( ); }</script></pre><p>results in a 404 error <span>"NetworkError: 404 Not Found - <a data-ipb='nomediaparse' href='
http://localhost:8080/newBIRTViewerToolkit/iportal/jsapi/'>http://localhost:8080/newBIRTViewerToolkit/iportal/jsapi/</a>"</span></p><p> </p><p><span>What am I doing wrong?</span></p>