<script type="text/javascript"> var WebContextPath = '<%=request.getContextPath() %>'; window.location = WebContextPath + "/login"; </script>