如果ctx是
ServletContext ctx = getServletContext();
的话,应该没有问题
问题可能在modify.jsp中,它可能重定向了