且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

将HTML链接到JSP页面

更新时间:2022-12-21 09:40:26

您应指定输入name属性.试试这个,

You should specify the input name attribute. Try this,

<form action="form.jsp" method="get">
        <table cellspacing="5" border="0">
                <tr>
                     <td align="right">Email:</td>
                     <td><input type="text" name="email"></td>
                </tr>

                <tr>
                     <td align="right">Password:</td>
                     <td><input type="text" name="password"></td>
                </tr>

                <tr>
                     <td></td>
                     <td><br><input type="submit" value="Submit"></td>
                </tr>
        </table>
        </form>

有关更多信息,您可以尝试以下链接

For more info you can try this link