Fundamentals of JavaTM Servlets: Magercises
Behavior: Hosting with servletrunner

By MageLang Institute

[Help | Solution | API Docs | Expected Output | Course Notes | Magercises | Module Intro]

When the "Hello World" servlet is successfully run from a browser, the output will be:

  Hello World

  Congratulations, your first servlet is working!

If you get the following output instead:

  404 Not Found
Then servletrunner is running correctly and you typed in the correct URL, but you typed in the wrong servlet name.

Finally, if your browser waits and waits for a response then you have either not run servletrunner correctly or you did not type in the URL correctly (double check that you typed in localhost and the port 8088).

Copyright © 1998 MageLang Institute. All Rights Reserved.