분류 전체보기 (532) 썸네일형 리스트형 JSP 게시판 board_write1.jsp • 제목 : • 작성자 : 이름 / 메일 / 암호 • 내용 : board_write_ok1.jsp board_list1.jsp No 제목 이름 등록일 조회수 board_delete1.jsp • 제목 : • 작성자 : 이름 / 메일 / 암호 JSP 간단한 게시판 사용자 -글목록 글쓰기 내용보기 글수정 글삭제 개발자 글쓰기 -> 글목록(1) -> 내용보기 ->글수정/글삭제 -> 글목록 데이터베이스 테이블설정 : board1 번호 -seq number not null primary key 제목 -title varchar2(60) not null 이름 -name varchar2(10) not null 이메일 -email varchar2(40) 암호 -pwd varchar2(10) not null 내용 -content varchar2(4000) 등록일 -regdate date not null default sysdate 조회수 -hit number not null default 0 아이피 -regip char(15) not null insert into board1 v.. JSP Encoder.Decoder pageEncoding="UTF-8"%> response.sendRedirect("http://www.naver.com");%> pageEncoding="UTF-8"%> String value = "한글"; String value1 = URLEncoder.encode(value); out.println("한글의 url 인코딩 : " +value1); String value2 = URLDecoder.decode(value1); out.println("한글의 url 디코딩 : " +value2);%> JSP 달력 calendar.jsp 2007년 2008년 2009년 2010년 1월 2월 3월 4월 5월 6월 cal_ok.jsp JSP get/post 값 넘겨주기 pageEncoding="UTF-8"%> request.setCharacterEncoding("utf-8"); String test1 = request.getParameter("test1"); String test2 = request.getParameter("test2"); String test3 = request.getParameter("test3"); out.println("test1 : " +test1 +""); out.println("test1 : " +test2 +""); String fruit1 = request.getParameter("fruit1"); String fruit2 = request.getParameter("fruit2"); .. JSP submit get/post전송 form1.jsp 링크가기 딸기 바나나 수박 딸기 바나나 수박 form_ok1.jsp JSP 서버이름, 클라이언트ip 클라이언트ip = 요청정보길이 = 요청정보 인코딩 = 요청정보 컨텐트 타입 = 요청정보 프로토콜 = 요청정보 전송 방식 = 요청 URI = 컨텍스트 경로 = 서버이름 = 서버포트 = = jsp 달력, 구구단 pageEncoding="UTF-8"%> Calendar sDay = Calendar.getInstance(); Calendar eDay = Calendar.getInstance(); StringBuffer sb = new StringBuffer(); int year = 2009; int month = 5; sDay.set(year, month-1, 1); eDay.set(year, month, 0); sb.append("year :'" +year +""); sb.append("month :" +month +""); sb.append("- :" +eDay.get(Calendar.DATE) +""); .. 이전 1 ··· 47 48 49 50 51 52 53 ··· 67 다음