需要做一个jsp界面。(本来是struts结构,现在为了简化问题,先用jsp)
1 2个日期下拉框,第1个是开始日期,第2个是结束日期
  从以往经历,这里肯定需要javascript2 分数下拉框 , 里面有预备的分数值, 用户也可以自己输入分数,但是分数必须大于20分。
3 一组radio (10组)由于eclipse没有frontpage类似的界面,所以不得不全部需要手工完成上面的代码。如果有这个的朋友,
欢迎给点jsp代码。另外写完这个,还要有form验证java程序,还要有用户action java程序等。
其他先压后,这个界面需要有的。

解决方案 »

  1.   

    <form id="form1" name="form1" method="post" action="list2.jsp">
      
      <table width="1201" height="574" border="1">
        <tr>
          <td colspan="2"><p>
            <label>score
            <select name="select">
            </select>
            </label>
                </p>
            <p>
              <label>start-date
              <select name="select2">
              </select>
              </label>
              <label>end_date
              <select name="select3">
              </select>
              </label>
              <label> </label>
                    <input type="submit" name="Submit" value="commit" />
            </p>
            <p>
              <label>
              1
              <input type="radio" name="radiobutton1" value="radiobutton" />
    Username</label>
              <label>
              <input type="radio" name="radiobutton1" value="radiobutton" />
              Username</label>
              <label>
              <input type="radio" name="radiobutton1" value="radiobutton" />
              Username</label>
              <label>
              <input type="radio" name="radiobutton1" value="radiobutton" />
              Username</label>
              <label></label>现在要在list2.jsp
    里request 如何才能得到选定的值  (比如 在这个jsp得到select1 2,3的值 , 得到选择的radio值
    得到文本的值),急切询问?
      

  2.   

    先不要强调是jsp界面设计,是html界面设计,你自己弄去吧
      

  3.   

     <HTML>   
      <BODY   BGCOLOR="white"   leftmargin="0"   topmargin="0">   
      <form   name="form1"   method="post"   action="">   
          <select   name=t   size=1>   
      <option   value=1>老师</option>   
      <option   value=2>学生</option>   
      <option   value=3>其它</option>   
      </select><input   type="submit"   name="Submit"   value="Submit">   
      </form>   
      <%   
      int   t=0;   
        String   str=request.getParameter("t");   
        if   ((str==null)   ||   (str.equals("")))   
        {   
        str="0";   
        }   
        t=Integer.parseInt(str);   
          
      switch(t){   
          case   1:   
              out.println("老师!");   
              break;   
          case   2:   
              out.println("学生!");   
              break;   
        
          default:   
              out.println("其它");   
      }   
      %>   
        
      </BODY>   
      </HTML>
      

  4.   

    但愿有用吧vcx 飞飞飞的股份大概 防盗锁