js获取jsp上下文地址

参考自博客:http://blog.csdn.net/lanchengxiaoxiao/article/details/7445498

原文地址:https://www.cnblogs.com/kelly-one/p/7352866.html