Questions tagged [url-pattern]

The URL-pattern element of servlet-mapping or filter-mapping associates a filter or servlet with a set of URLs. When using this tag on implementation heavy questions - tag the code language the implementation is written in.

379 questions
-2
votes
1 answer

Need for web context

I need to use action="/WebConext/urlpattern" on one install of tomcat but only need to use "/urlpattern" on another install of tomcat. Why is this? I am learning about Servlets using Eclipse and Tomcat. I have a form with…
-2
votes
2 answers

java.lang.IllegalArgumentException: Invalid xmlServletPath in servlet mapping

When I start Tomcat v7.0 Server from Servers tab in Eclipse, a problem occurred message box appears saying: Starting Tomcat v7.0 Server at localhost has encountered a problem. Server Tomcat v7.0 Server at localhost failed to start. I am a…
-2
votes
1 answer

python urlpattern newbie question

I'm trying this pattern: (r'^jobs/(?P\d+)/$', job_handler) To work with jobs/ and jobs/{job_id}, but the above expression doesn't cover the first case(jobs/), it only work if I do something like: (r'^jobs/$',…
khelll
  • 23,590
  • 15
  • 91
  • 109
-3
votes
4 answers

How to understand the Url patterns in django url.py

How to understand the Url patterns for eg. (?P[-\w]+)/$ in django url.py
1 2 3
25
26