- Популярные видео
- Авто
- Видео-блоги
- ДТП, аварии
- Для маленьких
- Еда, напитки
- Животные
- Закон и право
- Знаменитости
- Игры
- Искусство
- Комедии
- Красота, мода
- Кулинария, рецепты
- Люди
- Мото
- Музыка
- Мультфильмы
- Наука, технологии
- Новости
- Образование
- Политика
- Праздники
- Приколы
- Природа
- Происшествия
- Путешествия
- Развлечения
- Ржач
- Семья
- Сериалы
- Спорт
- Стиль жизни
- ТВ передачи
- Танцы
- Технологии
- Товары
- Ужасы
- Фильмы
- Шоу-бизнес
- Юмор
cs506 short lecture 27 || Creating a Simple Web Application in Tomcat
Creating a Simple Web Application in Tomcat , cs506 short lecture 27,
cs506 lecture 27 ,cs506
Steps for making a Hello World Servlet
To get started we will make a customary “HelloWorldServlet”. Let’s see what
are the steps involved in writing a servlet that will produce “Hello World”
1. Create a directory structure for your application (i.e. helloapp). This is a one time process
for any application
2. Create a HelloWorldServlet source file by extending this class from HttpServlet
and overriding your desired method. For example doGet() or doPost().
3. Compile it (If get error of not having required packages, check your class path)
4. Place the class file of HelloWorldServlet in the classes folder of your web
application (i.e. myapp).
a. Note: If you are using packages then create a complete structure under classes folder.
Create a deployment descriptor (web.xml) and put it inside WEB-INF folder
6. Restart your server if already running
7. Access it using Web browser
cs506 web designing and development lecture 27
Видео cs506 short lecture 27 || Creating a Simple Web Application in Tomcat канала instructor irfan khan
cs506 lecture 27 ,cs506
Steps for making a Hello World Servlet
To get started we will make a customary “HelloWorldServlet”. Let’s see what
are the steps involved in writing a servlet that will produce “Hello World”
1. Create a directory structure for your application (i.e. helloapp). This is a one time process
for any application
2. Create a HelloWorldServlet source file by extending this class from HttpServlet
and overriding your desired method. For example doGet() or doPost().
3. Compile it (If get error of not having required packages, check your class path)
4. Place the class file of HelloWorldServlet in the classes folder of your web
application (i.e. myapp).
a. Note: If you are using packages then create a complete structure under classes folder.
Create a deployment descriptor (web.xml) and put it inside WEB-INF folder
6. Restart your server if already running
7. Access it using Web browser
cs506 web designing and development lecture 27
Видео cs506 short lecture 27 || Creating a Simple Web Application in Tomcat канала instructor irfan khan
Комментарии отсутствуют
Информация о видео
5 августа 2022 г. 16:44:43
00:14:35
Другие видео канала
























