jsp

intellij- servlet 프로젝트에서 jsp out객체 사용하기

malangcow 2022. 5. 27.

목차

인텔리제이로는 servlet 프로젝트를 만들어도 이클립스와는 다르게 jsp라이브러리들을 추가해 주지 않는다.

그래서 out객체 같은 jsp 기본 객체들을 사용할 수가 없었음. 

그래서

<dependency>
    <groupId>javax.servlet.jsp</groupId>
    <artifactId>javax.servlet.jsp-api</artifactId>
    <version>2.3.3</version>
    <scope>provided</scope>
</dependency>

직접 추가 해줘야 함.

intellij- servlet 프로젝트에서 jsp out객체 사용하기 - undefined - 모든 영역

프로젝트 생성 시 주는 javax.servlet에 포함이 안 되나보다..

댓글