반응형
Model 1 (기초)간략게시판 만들기..
기본적으로 오라클 DB와 연동해서 진행을 하였으며,
DB 테이블 구성은 게시판번호, 제목, 글쓴이, 시간, 내용 입니다.
JDK 1.8 버전
Ojdbc7 버전
Write.jsp 역할
- 사용자에게 보여지는 글을 쓸 수 있는 부분
- 원하는 항목에 입력한 후 submit을 누르면 writepro.jsp 로 전달
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
<%@ page language="java" contentType="text/html; charset=EUC-KR"
pageEncoding="EUC-KR"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=EUC-KR">
<title>Insert title here</title>
</head>
<body>
<h1>글쓰기</h1>
<table border="1">
<tr>
<td>제목<input type="text" name="title"></td><br/>
</tr>
<tr>
<td>글쓴이<input type="text" name="writer"></td><br/>
</tr>
<tr>
<td>내용<input type="text" name="content"></td><br/>
</tr>
<td><input type="submit"></td>
</form>
</table>
</body>
</html>
http://colorscripter.com/info#e" target="_blank" style="color:#4f4f4f; text-decoration:none">Colored by Color Scripter
|
http://colorscripter.com/info#e" target="_blank" style="text-decoration:none; color:white">cs |
참고 블로그 - cocy님의 블로그 https://cusmaker.tistory.com/83
반응형
'JAVA' 카테고리의 다른 글
Model 1 간략한 게시판 만들기(list.jsp) (0) | 2019.05.21 |
---|---|
Model 1 간략한 게시판 만들기(writepro.jsp) (0) | 2019.05.21 |
[JMS]Activemq 메시지 소비자(Consumer) (0) | 2019.02.18 |
[JMS]Activemq 메시지 생성자(Producer) (0) | 2019.02.18 |
[기초 반복문] 피라미드 응용 - 마름모 만들기 (0) | 2019.01.16 |