ModifyStudent.jsp
资源名称:某公司的java培训教材 [点击查看]
上传用户:dinglihq
上传日期:2013-02-04
资源大小:99958k
文件大小:3k
源码类别:
Java编程
开发平台:
Java
- <%@ page info="JavaCamp.com - ModifyStudent.jsp " %>
- <html>
- <body>
- <table border="5">
- <caption><font size="4">Modify Student Information for <%=request.getAttribute("PrimaryKey")%></font></caption>
- <tr>
- <th>Fields</th>
- <th>Old</th>
- <th>New</th>
- <th>Action</th>
- </tr>
- <tr>
- <td>Password: </td> <td> <%= request.getAttribute("OldPassword") %></td>
- <td>
- <Form Action="StudentAlias" method="POST">
- <input type="hidden" name="requestAction" value="ModifyPassword">
- <input type="text" name="NewPassword" Size="8">
- <td>
- <input type="submit" value="Modify">
- </td>
- </form>
- </td>
- </tr>
- <tr>
- <td>First Name: </td> <td> <%= request.getAttribute("OldFirstName") %></td>
- <td>
- <Form Action="StudentAlias" method="POST">
- <input type="hidden" name="requestAction" value="ModifyFirstName">
- <input type="text" name="NewFirstName" Size="10">
- <td>
- <input type="submit" value="Modify">
- </td>
- </form>
- </td>
- </tr>
- <tr>
- <td>Last Name: </td> <td> <%= request.getAttribute("OldLastName") %></td>
- <td>
- <Form Action="StudentAlias" method="POST">
- <input type="hidden" name="requestAction" value="ModifyLastName">
- <input type="text" name="NewLastName" Size="20">
- <td>
- <input type="submit" value="Modify">
- </td>
- </form>
- </td>
- </tr>
- <tr>
- <td>Phone Number: </td> <td> <%= request.getAttribute("OldPhone") %></td>
- <td>
- <Form Action="StudentAlias" method="POST">
- <input type="hidden" name="requestAction" value="ModifyPhone">
- <input type="text" name="NewPhone" Size="15">
- <td>
- <input type="submit" value="Modify">
- </td>
- </form>
- </td>
- </tr>
- <tr>
- <td>Email Address: </td> <td> <%= request.getAttribute("OldEmail") %></td>
- <td>
- <Form Action="StudentAlias" method="POST">
- <input type="hidden" name="requestAction" value="ModifyEmail">
- <input type="text" name="NewEmail" Size="20">
- <td>
- <input type="submit" value="Modify">
- </td>
- </form>
- </td>
- </tr>
- <tr>
- <td>Company Name: </td> <td> <%= request.getAttribute("OldCompanyName") %></td>
- <td>
- <Form Action="StudentAlias" method="POST">
- <input type="hidden" name="requestAction" value="ModifyCompanyName">
- <input type="text" name="NewCompanyName" Size="20">
- <td>
- <input type="submit" value="Modify">
- </td>
- </form>
- </td>
- </tr>
- <tr>
- <td>Remove this student with ID </td> <td> <%=request.getAttribute("PrimaryKey")%></td>
- <td>
- <Form Action="StudentAlias" method="POST">
- <input type="hidden" name="requestAction" value="RemoveStudent">
- <input type="hidden" name="StudentID" value=<%=request.getAttribute("PrimaryKey")%> >
- <td>
- <input type="submit" value="Remove">
- </td>
- </form>
- </td>
- </tr>
- </table>
- <p>
- <center>
- <a href="/Reg/Student.html">Add Another Student classes</a>
- </center>
- </body>
- </html>