Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!-- JavaWeb1/src/main/webapp/index.jsp -->
- <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
- <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="UTF-8">
- <title>index jsp</title>
- </head>
- <body bgcolor="#ffffce">
- <c:set value="#c4e1ff" var="color" />
- <div align="center">
- <h1>index jsp</h1>
- <form name="indexForm" action="inputController" method="POST">
- <table border="1" width="50%">
- <thead>
- <tr bgcolor="${color}">
- <th height="60" colspan="4" align="center">職業調查表單</th>
- </tr>
- </thead>
- <tbody>
- <tr bgcolor="${color}">
- <td width="120" height="40" align="right">編號:</td>
- <td width="600" height="40" align="left">
- <input style="text-align: left" name="id_name" type="text" size="46" />
- </td>
- </tr>
- <tr bgcolor="${color}">
- <td width="120" height="40" align="right">職業別:</td>
- <td width="600" height="40" align="left">
- <input style="text-align: left" name="job_category_name" type="text" size="46" />
- </td>
- </tr>
- </tbody>
- </table>
- <input type="submit" value="新增" name="insert_name" />
- <input type="submit" value="修改" name="update_name" />
- </form>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment