Create a html response when user visits internal URL
===

When a user hits a particular internal URL I need to return some html that is created dynamically. 

Some back end services will be called to genrated a list of keys which is then used to generated a list of html
href links which are displayed to the user.

For this I am considering using a servlet. Is this a good methodology ?
Since servlets have been around for some time maybe there are newer/better ways of implementing this ?
