Is there an easy way to rout all requests (except a few specific cases) for url “mysite/” to path “mysite/index.html?”
Is it possible to do it only by editing web.xml file?
Is there an easy way to rout all requests (except a few specific cases)
Share
You can always have a list of welcome pages for directories (those shown if the URL requested maps to a directory).
If this is not enough you may want to look at servlet Filters, which can do all kinds of transformations. http://java.sun.com/products/servlet/Filters.html