Các bước tạo web app
Bước 2:Choose name and location
Bước 3:Choose server and setting => Finish
Bước 4:Edit file Index.jsp using html tags
Bước 5:Tạo servlet:Từ folder source packges ,chuột phải chọn New/Others/Web/Servlet
Assignment Practice
Module 1:Create a servlet using NetBeans to greet the user Hi, welcome to the world of Servlets.
Module 2.1:Create an html program to accept a name from user and display the first name and last name on the screen using a servlet program. Use getParameter() method to access the variables.
Module 2.2:Create a servlet, which displays the Remote host, Remote port,Requested URI, Server name and server port on the screen. Use the methods of HttpServletRequest interface.
Không có nhận xét nào:
Đăng nhận xét