Skip to main content

Glassfish servlet url * wildcard and alternate doc root

No replies
Joined: 2013-01-05
Points: 0

Here is the problem. I have a servlet @WebServlet(name = "Servlet", urlPatterns = {"/*"}) and I have also
. The problem is that alternate doc root is ignored in this case. But when urlPatterns = {"/servlet1"} everything works.

How can I make it work with urlPatterns = {"/*"}? Best regards.