I've asked a question before about clean urls in java/jsp website and I got answer of it that I will need to configure my web.xml file like this
<servlet> <servlet-name>yourjsp</servlet-name> <jsp-file>/yourjsp.jsp</jsp-file> // here you can give jsp location </servlet> <servlet-mapping> <servlet-name>yourjsp</servlet-name> <url-pattern>/yourjsp</url-pattern> </servlet-mapping>
So my question is that do I really have to map every URL or pattern in web.xml file?
What If I am developing a website which has USERs (NOT A SOCIAL NETWORK for GOD'S SAKE) but some type of community/forum system then I would like to use domain/UERnAME or domain/QUESTION or domain/question/what-ever-your-question-is etc, so any suggestion for that? And I want to clarify that I am still learning JAVA/JSP development and I'd like to learn it at beginner level of me.
Thank you all for helping me.