Top "Url-pattern" questions

The URL-pattern element of servlet-mapping or filter-mapping associates a filter or servlet with a set of URLs.

Why FacesServlet cannot have a url-pattern of /*.?

This is my web.xml : <servlet-mapping> <servlet-name>Faces Servlet</servlet> <url-pattern>/*</…

jsf jakarta-ee url-pattern servlet-mapping
Wiremock not matching regex

I'm using wiremock to mock certain requests and their respective response, but I'm trying to add a regex. Unfortunately, this …

regex mocking url-pattern wiremock
Node.js matching the url pattern

I need an equivalent of following express.js code in simple node.js that I can use in middleware. I …

node.js express url-pattern
Catch-all (wildcard) servlet url-pattern overrides file extension patterns

I would like to achieve the following: /webapp-context/Page-1 -> Handled by my custom "ContentServlet" /webapp-context/Another-Page -> …

servlets web.xml zk url-pattern
java.lang.IllegalArgumentException: Invalid URL Pattern: [xhtml]

I am trying to deploy a very simple & my first JSF application (following a really good tutorial by BalusC) …

jsf illegalargumentexception url-pattern
How to use .jsf extension in URLs?

I'm developing a JSF 2 web application. For prestige purpouses I would like that every URL ends with .jsf extension. Now …

jsf jsf-2 url-pattern servlet-mapping
url pattern for html file in web.xml

we know how to set url pattern for servlet but I am unable to set url pattern for html in …

java html servlets web.xml url-pattern
Filter mapping Url pattern *.action not working struts2

in the struts2 web.xml application i have filter and servlet web.xml ... <servlet> <servlet-name>SchServlet&…

struts2 web.xml servlet-filters url-pattern action-mapping
Servlet URL pattern to match a URL that ends with a slash ("/")

I'd like to specify a Servlet URL pattern to match a URL that ends with a slash ("/") and only a …

java servlets web.xml url-pattern
WebFilter urlPatterns ignored

I have read numerous examples though I seem to have an 'exact' copy of them, so I cannot figure out …

java jsf servlet-filters url-pattern