728x90 WEB87 [JSP] ch02-06. Target 2-6. Target index.html MAIN A B main.html MAIN to a a.html A to main b.html B to main WEB/JSP 2017. 11. 9. [JSP] ch02-05.Pameter(파라미터) 2 2-5. Parameter(파라미터) IN / OUT 2 paraPostIn.html 사용자명 숫자1 숫자2 paraOut.jsp 이 요청한 계산 결과는 + = AddService.java public class AddService { public int add(int num1, int num2){ return num1+num2; } } WEB/JSP 2017. 11. 2. [JSP] ch02-04. Parameter(파라미터) 2-4. Parameter(파라미터) IN / OUT paraGetIn.html 사용자명 숫자1 숫자2 paraOut.jsp 이 요청한 게산 결과는 + = WEB/JSP 2017. 11. 1. [JSP] ch02-03. Import 2-3. import WebContent/ch02/ex03/import.jsp src/ch02/ex03/Addr.java public class Adder { public int add(int num1, int num2){ return num1+num2; } } WEB/JSP 2017. 11. 1. [JSP] ch02-02. declaration 2-2. declaration 더하기 += WEB/JSP 2017. 11. 1. [JSP] ch02-01. scriptlet 2-1. scriptlet(스크립트릿) 디렉티브 --%> 더하기 + = + = WEB/JSP 2017. 11. 1. [JSP] ch01-04. LifeCycle 1-4. LifeCycle @WebServlet("/ch01/ex04/lifecycle") public class LifeCycle extends HttpServlet { private int initCnt = 0; private int doGetCnt = 0; private int destroyCnt = 0; public void init(ServletConfig conf) throws ServletException{ System.out.printf("intiCnt: %d\n", ++initCnt); } protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOExcept.. WEB/JSP 2017. 11. 1. [JSP] ch01-03. 서블릿 클래스 GET, POST 방식 1-3. 서블릿 클래스 Get, Post방식 전송 @WebServlet("/ch01/ex03/home/add") public class DoGetPost extends HttpServlet { private static final long serialVersionUID = 1L; public void process(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { int num1 = 1; int num2 = 2; response.setContentType("text/html;charset=utf-8"); PrintWriter out = response.getWriter(); out... WEB/JSP 2017. 11. 1. [JSP] ch01-02. 서블릿 클래스 POST 방식 1-2. 서블릿 클래스 Post방식 전송 @WebServlet("/ch01/ex02/add") public class DoPost extends HttpServlet { private static final long serialVersionUID = 1L; protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { int num1 = 1; int num2 = 2; response.setContentType("text/html;charset=utf-8"); PrintWriter out = response.getWriter(); out.println("PO.. WEB/JSP 2017. 11. 1. [JSP] ch01-01. 서블릿 클래스 GET 방식 1-1. 서블릿 클래스 Get방식 전송 @WebServlet("/ch01/ex01/add") public class DoGet extends HttpServlet { private static final long serialVersionUID = 1L; protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { int num1 = 1; int num2 = 2; response.setContentType("text/html.charset=utf-8"); PrintWriter out = response.getWriter(); out.println("GET").. WEB/JSP 2017. 11. 1. [CSS] ch05-09. ani 09_ani.html 09_ani.css @CHARSET "UTF-8"; #myball{ position: relative; width:100px; height:100px; border-radius: 50px; border:2px solid black; background:url(../img/f1.png) no-repeat center center padding-box; animation:myani 3s infinite alternate; } @keyframes myani{ 0%{ left: 10px; } 50%{ background:url(../img/woman.png) no-repeat center center; } 100%{ background:url(../img/f2.png) no-repeat c.. WEB/CSS 2017. 8. 28. [CSS] ch05-08. timingFunction 08_timingFunction.html ease ease-in ease-out ease-in-out linear 08_timingFunction.css @CHARSET "UTF-8"; #ex div{ float: left; width: 100px; height: 50px; margin: 5px 10px; padding: 5px; color: white; background-color: #006aff; border-radius: 5px; text-align:center; font-weight: bold; } #ex:hover div{ height: 400px; } #ex .ease{ transition: 3s ease; /*같은 속도 유지*/ } #ex .ease-in{ transition: 3s eas.. WEB/CSS 2017. 8. 28. 이전 1 2 3 4 5 ··· 8 다음 728x90