fixed the index.jsp links to reference the context root dynamically.