Skip to main content

Glassfish servlet url * wildcard and alternate doc root

Please note these forums are being decommissioned and use the new and improved forums at
No replies
Joined: 2013-01-05

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.