티스토리 뷰

Programming

Servlets

seoca 2019. 1. 9. 15:18




Servlet


user requests a specific file that you don't have then, the server will have a helper application which is your web container(Tomcat). Since HTML is not a programming language, you need to use some programming like PHP, ASP, Ruby or Java. If you use Java. you need something called Servlet.

Servlet stands for Server Component. 


Servlet runs in your Server and the output will be on the client page. So servlet will generate the page for you.

If a user requests a web page, which is not pre-made, the servlet will create a page for you.

So if you want to create dynamic pages, we normally use Servlet. 






Spring Boot does include tomcat(Servlet Engine) inside which is called spring-boot-starter-tomcat. No need to install tomcat when we use Spring boot. 





Reference

https://www.youtube.com/watch?v=CRvcm7GKrF0

'Programming' 카테고리의 다른 글

Algorithm & Data structure  (0) 2019.01.20
Web app vs Mobile app  (0) 2019.01.20
difference between Framework and Library  (0) 2019.01.11
RestAPI  (0) 2019.01.10
static pages and dynamic pages  (0) 2019.01.09