混点分吧,你把下面的代码保存为一个HTML文件,放到你的服务器下面和a.jsp同级的工作目录下运行就可以了。
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>New Page 1</title>
</head><body>
<form action="a.jsp" method="post">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
  <tr>
    <td width="100%" align="center">
      <table border="0" cellpadding="0" cellspacing="0" width="50%">
        <tr>
          <td width="29%">
            <p align="right">姓名:</td>
          <td width="71%"><input type="text" name="name" size="20"></td>
        </tr>
        <tr>
          <td width="29%">
            <p align="right">年龄:</td>
          <td width="71%"><input type="text" name="age" size="20"></td>
        </tr>
        <tr>
          <td width="29%">
            <p align="right">性别:</td>
          <td width="71%"><input type="text" name="sex" size="20"></td>
        </tr>
      </table>
    </td>
  </tr>
  <tr>
    <td width="100%" align="center"><input type="submit" value="提交" name="B1">&nbsp; 
      <input type="reset" value="重写" name="B2"></td>
  </tr>
</table>
</form>
</body></html>

解决方案 »

  1.   

    不会吧,这怎么学JSP,还是先学学怎么做主页先吧
      

  2.   

    我的主页http://zijianyi.yeah.net
    我只是不知道怎么传给.jsp,界面我当然会做
      

  3.   

    你是问的这个意思吗?
    String name=request.getParameter("name");
      

  4.   

    学jsp不懂html语言简直是不可能的,至少目前是这样
      

  5.   

    不好意思,我真的不大懂html,我做的主页全是在frontpage里做的,没写过源代码,现在学不晚吧?但愿不晚............
      

  6.   

    html那么简单,搞不明白你为何不看看呢?faint