Type mismatch: cannot convert from Object to String

类型不匹配:不能从对象到字符串

<%
     String rand =(String) session.getAttribute("rand");
     String input = request.getParameter("rand");
   %>

你可能感兴趣的:(jsp)