Fundamentals of JavaTM Servlets: Magercises
Behavior: Hosting with the Java Web Server

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 second servlet is working!

If you get the following output instead:

Not Found (404)

The file that you requested could not be found on this server. If you provided the URL, please check to ensure that it is correct. If you followed a hypermedia link, please notify the administrator of that server of this error.

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 8080).

Copyright © 1998 MageLang Institute. All Rights Reserved.