关于encodeURl(), encodeRedirctURL(),  JSESSIONID的问题下面的网址给出了相当全的解释:

收藏一下:http://blog.csdn.net/yingevil/article/details/6916550