53GB

How to use tomcat under eclipse. (Use 1080 for better resolution)



How to use tomcat under eclipse. (Use 1080 for better resolution)

#java#tomcat#eclipse#cantonese#廣東話
it is a cantonese video to show how to use tomcat under eclipse for your testing

How to setup tomcat under eclipse for testing

Why we need it

– Sometime, we need it to test it at local machine before you put it to testing server or production

Prerequisites

– IDE (Eclipse)
– Tomcat 9.0.34 (a web server with servlet/jsp engine)

Setup in eclipse

– Load a server profile
– Locate the tomcat installation folder
– Related to tomcat setting (libraries and resources)

Run a web application

– Very simple Hello World (Servlet & JSP)
– Java source codes
– Java server page files
– WEB-INF
– Web.xml
– Related libraries

Actually, tomcat is just an example…You can use this approach to install other servers (e.g. Glassfish, IBM Websphere)

Exit mobile version