I am working on a Servlet/JSP project, the website have users and I need to display a user's profile using the notation
myDomain.com/Joe instead of
An instance of my case is this current page, the link is displaying
Generally speaking my idea is that I need to first fetch the "/Joe" part and send it to the doGet or dopost method inside a servlet called "get_user.java", then the servlet shall send back the information associated with "/Joe" to the JSP page, but of course I could be wrong.
I tried finding answers regarding this and most answers are very broad, for instance This one is taking about "RESTfull" pages, I don't know if the "Restfull" part have anything to do with this or not because I am not familiar with RESTfull pages.
Any way the question is not about what restfull pages are, but how to accomplish what I described above, a strategy description will help me here