One servlet work with method GET and other servlet work with method POST.