Top "Url-pattern" questions

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

What is the significance of url-pattern in web.xml and how to configure servlet?

I have manually configured web.xml for my application. Now, I'm facing issues while running my application. I'm trying to …

java servlets web.xml url-pattern servlet-mapping
Difference between / and /* in servlet mapping url pattern

The familiar code: <servlet-mapping> <servlet-name>main</servlet-name> <url-pattern>/*</url-pattern> </…

servlets web.xml url-pattern
Giving multiple URL patterns to Servlet Filter

I am using a Servlet Filter in my JSF application. I have three groups of Web pages in my application, …

servlets servlet-filters url-pattern
REST API DESIGN - Getting a resource through REST with different parameters but same url pattern

I have a question related to REST url design. I found some relevant posts here: Different RESTful representations of the …

rest url jax-rs url-scheme url-pattern
Error: /login.xhtml Not Found in ExternalContext as a Resource

I'm using JBoss 7.1 with JSF 2.1/Prime Faces and keep running into the error listed in the title. I've tried many …

jsf url-pattern
Spring: Difference of /** and /* with regards to paths

What's the difference between two asterisks instead of one asterisk when we refer to paths? Earlier I was debugging my …

spring web resources url-pattern
Sometimes I see JSF URL is *.jsf, sometimes *.xhtml and sometimes /faces/*. Why?

Been try to learn JSF, and sometimes I see the URL is *.jsf and sometimes is *.xhtml or /faces/*. Can …

jsf web.xml facelets url-pattern
Mapping a specific servlet to be the default servlet in Tomcat

I am trying to implement a servlet that gets raw requests, and decide either to process them, or forward them …

java tomcat servlets url-pattern
how to exclude a url in filtermapping

web.xml <filter> <filter-name>SessionCheckFilter</filter-name> <filter-class>filter.SessionCheckFilter</filter-class> &…

java servlet-filters web.xml url-pattern
In Django, How do you write the url pattern for '/' and other root-based urls

I'm new to django, and one of the things that I'm still learning is url_patterns. I set up a …

django url routing url-pattern