Hi Raman,
If we create a new JSP file, few lines of code will come by default.
<!DOCTYPE HTML>
<HTML>
<HEAD>
<TITLE>Your Title Here</TITLE>
<META http-equiv="X-UA-Compatible" content="IE=edge">
<META http-equiv='cache-control' content='no-cache'>
<META http-equiv='expires' content='0'>
<META http-equiv='pragma' content='no-cache'>
<SCRIPT type="text/javascript" src="/XMII/JavaScript/bootstrap.js" data-libs="i5Chart,i5Grid"></SCRIPT>
</HEAD>
<BODY>
</BODY>
</HTML>
Pls make sure that above Line is included as well and I tried the same on our test server which is on 14.0 SP06 currently and i didn't face any issue. Here is my code.
<!DOCTYPE HTML>
<HTML>
<HEAD>
<TITLE>Your Title Here</TITLE>
<META http-equiv="X-UA-Compatible" content="IE=edge">
<META http-equiv='cache-control' content='no-cache'>
<META http-equiv='expires' content='0'>
<META http-equiv='pragma' content='no-cache'>
<SCRIPT type="text/javascript" src="/XMII/JavaScript/bootstrap.js" data-libs="i5Chart,i5Grid"></SCRIPT>
<SCRIPT>
var Grid = new com.sap.xmii.grid.init.i5Grid("Regression_15.0/i5Grid", "Regression_15.0/Employees");
Grid.setGridWidth("640px");
Grid.setGridHeight("400px");
Grid.draw("div1");
</SCRIPT>
</HEAD>
<BODY>
<DIV id="div1"/>
</BODY>
</HTML>
Pls check if UI5 libraries etc were deployed or if anything is missing.
Regards,
Sriram