From a874e609b12112b0a1ba6439d2105ff83ed369e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B3=B5=EB=8C=80=EB=B2=A0=EC=A7=B1=EC=9D=B4?= Date: Thu, 7 Nov 2024 09:33:08 +0900 Subject: [PATCH] feat(posts): create 2024-11-07-intellij-jsp-auto-update --- .../2024-11-07-intellij-jsp-auto-update.md | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 _posts/ide/2024-11-07-intellij-jsp-auto-update.md diff --git a/_posts/ide/2024-11-07-intellij-jsp-auto-update.md b/_posts/ide/2024-11-07-intellij-jsp-auto-update.md new file mode 100644 index 00000000000..775f614212f --- /dev/null +++ b/_posts/ide/2024-11-07-intellij-jsp-auto-update.md @@ -0,0 +1,30 @@ +--- +title: IntelliJ JSP 수정시 자동 업데이트 +author: dejavuhyo +date: 2024-11-07 09:32:00 +0900 +categories: [Application, IDE] +tags: [intellij, intellij-tomcat, intellij-jsp, intellij-jsp-update, 인텔리제이-jsp-업데이트, jsp-업데이트] +--- + +![intellij-idea-icon](/assets/img/2024-11-07-intellij-jsp-auto-update/intellij-idea-icon.jpg) + +## 1. 자동 업데이트 설정 +웹 개발시 HTML 및 JSP를 수정하면 자동으로 수정된 내용이 업데이트 되도록 설정하는 방법이다. + +### 1) Edit Configurations +위쪽 Edit Configurations을 선택한다. + +![edit-configurations](/assets/img/2024-11-07-intellij-jsp-auto-update/edit-configurations.jpg) + +### 2) war exploded 확인 +Deployment에서 "war exploded"로 설정되어 있는지 확인한다. "war"로 되어있는 경우 'Update classes and resourcesr'가 나타나지 않는다. + +![deployment](/assets/img/2024-11-07-intellij-jsp-auto-update/deployment.jpg) + +### 3) Server 설정 +Server에서 "On Update action"과 "On frame deactivation"을 "Update classes and resources"로 변경한다. + +![server](/assets/img/2024-11-07-intellij-jsp-auto-update/server.jpg) + +## [출처 및 참고] +* [https://velog.io/@coreminw/Intellij에서-JSP-수정시-자동-리로드-되도록-설정](https://velog.io/@coreminw/Intellij에서-JSP-수정시-자동-리로드-되도록-설정)