-
3 minute read
π HTTP μλ²½ κ°μ΄λ μ½κ³ μ 리νκΈ° πΏοΈ HTTP HTTP : HyperText Transfer Protocol HTTPλ HTML λ¬Έμμ κ°μ 리μμ€λ€μ κ°μ Έμ¬ μ μλλ‘ ν΄μ£Όλ νλ‘ν μ½ μΉμμ μ΄λ£¨μ΄μ§λ λͺ¨λ λ°μ΄ν° κ΅νμ κΈ°μ΄ μ μΈκ³μ μΉ μλ²λ‘λΆν° λλμ μ 보λ₯Ό λΉ λ₯΄κ³ , κ°νΈνκ³ , μ ννκ² μΉ λΈλΌμ°μ λ‘ μ λ¬ μ λ’°μ± μλ λ°μ΄ν° μ μ‘ νλ‘ν μ½ μ¬μ© -> λ°μ΄ν° μ μ‘...
Continue reading...
-
Less than 1 minute read
MyBatis μλ° νΌμμ€ν΄μ€ νλ μμν¬μ νλ Persistence Frameworkλ? λ°μ΄ν°μ μ μ₯, μ‘°ν, λ³κ²½, μμ λ₯Ό λ€λ£¨λ ν΄λμ€ λ° μ€μ νμΌλ€μ μ§ν© μ§μμ± νλ μμν¬ μ¬μ© μ JDBC νλ‘κ·Έλ¨μ΄μ 볡μ‘ν¨μ΄λ λ²κ±°λ‘μ μμ΄ κ°λ¨ν μμ
λ§μΌλ‘ λ°μ΄ν°λ² μ΄μ€μ μ°λλλ μμ€ν
μ λΉ λ₯΄κ² κ°λ°ν μ μλ€. XML μμ μλ Annotationμ μ¬μ©ν΄ μ μ₯ νλ‘μμ (Stored Procedure, μΌλ ¨μ 쿼리λ₯Ό λ§μΉ νλμ ν¨μμ²λΌ μ€ννκΈ° μν...
Continue reading...
-
3 minute read
bbs/List.jsp <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@page import="java.util.Vector"%> <%@ page import="pack_BBS.BoardBean" %> <jsp:useBean id="boardMgr" class="pack_BBS.BoardMgr" scope="page" /> <% request.setCharacterEncoding("UTF-8"); int listSize = 0; // μΆλ ₯ν λ°μ΄ν°μ κ°μ (λ°μ΄ν° 1κ° = κΈ°λ‘μ€ 1κ°) Vector<BoardBean> vList = null; %> <!DOCTYPE html> <html lang="ko"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport"...
Continue reading...
-
4 minute read
bbs/Post.jsp <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <!DOCTYPE html> <html lang="ko"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>κΈμ°κΈ° νμ΄μ§</title> <link rel="stylesheet" href="/Proj_BBS/style/Style.css"> </head> <body> <div id="wrap"> <h1>κΈμ°κΈ° νμ΄μ§</h1> <header id="header"> <nav> <ul> <li><a href="/Proj_BBS/Index.jsp">λ©μΈ</a></li> <li><a href="#">λ‘κ·ΈμΈ</a></li> <li><a href="/Proj_BBS/bbs/Post.jsp">κΈμ°κΈ°</a></li> <li><a href="/Proj_BBS/bbs/List.jsp">μμ κ²μν</a></li> </ul> </nav> </header> <!-- header#header -->...
Continue reading...
-
8 minute read
BBS (Bulletin Board System) κΈ μμ± / νμΌ μ
λ‘λ&λ€μ΄λ‘λ / λ΅λ³κΈ μμ±μ΄ κ°λ₯ν κ²μν λ§λ€κΈ° βConnector/J && cos.jarβ λΌμ΄λΈλ¬λ¦¬ μμ§ λ§μ! DB create database bbsDB; use bbsDB; create table tblBoard ( num int auto_increment, uName char(20) not null, subject char(50) not null, content text null, pos int not null, ref...
Continue reading...