728x90
300x250

[JSP] 2. 우분투 18.04에서의 아파치, 아파치 톰캣 - 서버 경로, JSP란 무엇인가?

([JSP] 2. Apache, Apache Tomcat on Ubuntu 18.04-What is the server path, JSP?)


여는 글로 웹 디렉토리 경로에 대해서 정리해보고, JSP란 무엇인지 특징을 가지고 간단하게 소개한다.
(The opening article summarizes the Web directory paths and briefly introduces what JSP is.)

1. 아파치 2.4, 아파치 톰캣 9 디렉토리(Apache 2.4, Apache Tomcat 9 directory)


 Apache 2.4

 Apache Tomcat 9

 웹ROOT 디렉토리 : /var/www/html/
 CONF 디렉토리 : /etc/apache2
 LOG 디렉토리 : /var/log/apache2

 HOME 디렉토리 : /usr/share/tomcat9/

 CONF 디렉토리 : /etc/tomcat9/

 LOG 디렉토리 : /var/log/tomcat9/

 웹ROOT 디렉토리 : /var/lib/tomcat9/


2. "JSP란 무엇인가"에 대해서 잠깐 소개한다.
(Let's take a quick look at "What is JSP?")
'웹 어플리케이션'은 웹을 기반으로 실행되는 어플리케이션을 의미한다.
흔히 인터넷 익스플로러, 파이어폭스, 크로미니엄(크롬) 등의 웹 브라우저를 사용해서 사이트에 접속하며, 사이트에 접속한 결과를 웹 브라우저를 통해서 보게 된다.
('Web application' means an application that runs on the web.
You often access the site using a web browser, such as Internet Explorer, Firefox, or Chromium (Chrome), and see the results of accessing the site through a web browser.)

JSP는 JavaServer Pages의 약자로 스크립트 언어이다.
* 자바 언어를 기반으로 하는 스크립트 언어로서 자바가 제공하는 기능을 그대로 사용할 수 있다.
* HTTP와 같은 프로토콜에 따라 클라이언트의 요청을 처리하고 응답한다.
* HTML, XML 등 클라이언트가 요청한 문서를 생성하는데 주로 사용된다.
* 서블릿/EJB 등의 엔터프라이즈 기술들과 잘 융합된다.
* 표현언어, 표현식, 스크립트릿 등 다양한 스크립트 요소와 액션 태그 등을 제공함으로써 보다 쉽게 웹 어플리케이션을
  프로그래밍 할 수 있도록 도와준다.

JSP stands for JavaServer Pages. It is a scripting language.
(* A scripting language based on the Java language that allows you to use the features provided by Java.
* Processes and responds to client requests according to protocols such as HTTP.
* It is mainly used to generate documents requested by clients such as HTML and XML.
It integrates well with enterprise technologies such as Servlets / EJBs.
* Provides various script elements and action tags such as expression language, expression, scriptlet, etc. to help you program web application more easily.)


반응형

+ Recent posts