<%@ page contentType="text/html;charset=GB2312" %>
<HTML>
<BODY bgcolor=cyan><FONT Size=1>
<P>随机分给了你一个1到100之间的数，请猜！
  <%    
     int number=(int)(Math.random()*100)+1;
     session.setAttribute("count",new Integer(0));
     session.setAttribute("save",new Integer(number));
  %>
<BR>
<P>输入你的所猜的数
   <FORM action="result.jsp" method="post" name=form>
       <INPUT type="text" name="boy" > 
       <INPUT TYPE="submit" value="送出" name="submit">
   </FORM>
</FONT>
</BODY>
</HTML>