Learn Java for Web Development

(Tina Meador) #1
CHAPTER 2: Building Web Applications Using Servlets and JSP 73

Figure 2-23. Creating the JSP file


Modify the code of helloworld.jsp as illustrated in Listing 2-14.


Listing 2-14. helloworld.jsp


<!DOCTYPE html >





Hello World


Hello World!


Deploy the application on the server, as shown in Figure 2-24.

Free download pdf