Compiling and Deploying the Servlet
You should now be able to view the servlet. In my case I point my browser at the URL:
http://host.csit.fsu.edu:XXXX/dbc/servlet/HelloWorld
Note that by default the Tomcat server will run with the same privileges as the user who started it.
This means you don’t actually need to make files world readable (because you have privileges to read them).
It also means you have to be careful. If you stick with this default you must never deploy servlets that have the power to damage or compromise your account
- e.g. by reading or writing arbitrary files, or executing random commands!