result.jsp rejigged