moving file.jsp to servlets