Learn Java for Web Development

(Tina Meador) #1

52 CHAPTER 2: Building Web Applications Using Servlets and JSP


13./hello
14.
15.
16.index.html
17.index.htm
18.index.jsp
19.default.html
20.default.htm
21.default.jsp
22.

23.


Now we need to configure HelloWorld servlet as a web module in Tomcat. SelectWindow ➤ Show
View ➤ Servers in the menu bar of Eclipse, as illustrated in Figure 2-8.


Figure 2-8. Adding the server

Free download pdf