I don't understand step 5.
You need to map your servlet to a URL. In web.xml, you need the following:
Marc is telling you that if you created the servlet using Netbeans' wizard (which you probably have not), this will be done automatically.
And for some personal comments
Main is an awful name for a servletYou should put your servlet in a package to avoid troubles (If this discussion goes on about how to use Netbeans, it will be moved to the IDE forum)
[ February 07, 2008: Message edited by: Christophe Verre ]