There are some CMS's that can handle virtual urls (for example, Joomla calls it SEF). What are those virtual urls? It is simple, you have an url something like and CMS somehow makes it possible to assign that ugly url to something shorter readable like or even So the question is how can I do the same in java using Tomcat as a server?