I am trying to create a simple application using Java and Servlets.
In my app, there are users, and each one should have his/her own page.
I think the URLs for this page should look like:
www.myapp.com/users/john
www.myapp.com/users/paul
...
and so on.
In Django, there are ways to capture parts of the URL. For example, for what I would like to do above, you would create a URL entry like url(r'^articles/([a-z])/$', views.userpage)
How do you do this with Java servlets, web.xml, etc?