First Servlet
Steps
- Type in source code. (See Below)
- Save the file. Path
- Compile. Note
- Declare FirstServlet in
WEB-INF/web.xml
- Map FirstServlet to a URL in
WEB-INF/web.xml
Final Code
Source: smartsoft/tutorial/first/FirstServlet.java
Run It
smartsoft.tutorial.first.FirstServlet