Start the servletrunner Utility
Open a command prompt window and type servletrunner to start that utility, This loop listens on port for incoming client requests.

Start a Web Browser and Request the Servlet

Start a Web browser and enter the URL shown here:

http://localho~t:aoup~serVlct/Hel]oServlct may enter U1e’ URL shown here:

This can be done because 127;0.0.1 is defined as the IP address of the local machine. You should observe the output of tho scrvlet in the browser display area. It should contain the string Hello! in bold Type.

[vfb id=1]

Share This