티스토리 뷰

☠️ Java

java 키워드 정리

James Wetzel 2024. 8. 28. 12:23
728x90
반응형

서블릿(Servlet)

package sec01.ex01;

import jakarta.servlet.ServletConfig;
import jakarta.servlet.ServletException;
import jakarta.servlet.annotation.WebServlet;
import jakarta.servlet.http.HttpServlet;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;

@WebServlet("/member")
public class MemberServlet extends HttpServlet {
	@Override
	protected void doGet(HttpServletRequest req, HttpServletResponse response) throws ServletException, IOException {
		
	}

	@Override
	protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {

	}

	@Override
	public void init(ServletConfig config) throws ServletException {
    
	}
}

JSP 내장 객체

request
response
out
session
application
pageContext
page
config
exception

JSP 스크립트

<%!
	멤버 변수 or 멤버 메서드
%>

<%
	자바 코드;
%>

<%= 값 %>

JSP 액션 태그

<jsp:xxx> </jsp:xxx>

JSP 표준 태그 라이브러리(JSTL)

<c:xxx>
<fmt:xxx>
<fmt:xxx>
${ fn:length("text") }

JSP 표현 언어

${ xxx }

 

 

Spring Framework

 

Maven

 

Spring Web MVC

728x90
반응형