For example, I have an application server with this servlet: http://blog.c2b2.co.uk/2014/03/writing-and-deploying-simple-web.html

The question is whether I can send a Post request using say, PostMan? What will be url? Do I need index.html at all?

    1 answer 1

    Yes, Post request can be sent. The url will be the one in the servlet configuration, in this example:

    @WebServlet(name = "PersonServlet", urlPatterns = {"/PersonServlet"}) 

    /PersonServlet will be your URL

    index.html is not needed.