Start the servletrunner Utility Java Help

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

Alternatively.you may enter U1e’ URL shown here:

http://127.0.0.1:BOBO/scrvlcL/HelloServlet

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.

JavaHelpOnline.com

  • Feel free to send us an inquiry, we will reply back in hours.
 

Verification

Posted on September 18, 2014 in Servlets

Share the Story

About the Author

Back to Top