Just wanted to understand if there is ny specific reason to call a server side web script from site-index.jsp file? You could either use, any of the client side components javascript files which get loaded before navigating to the appropriate dashboards from site-index.jsp file.