Say someone enters index.html or index.htm I want them to be redirected to index.jsp. I see I can make a simple redirector servlet and then have a servlet mapping in my web.xml but I would imagine there is a simpler way to do this. Thanks.
Otherwise, I'd use the mapping technique in the deployment descriptor to define the URLs to where you want them to go.
Joined: Feb 05, 2009
Ok thanks Bear, that method just caught me a little off guard so I thought I might be completely misunderstanding you and just to make sure when you refer to the mapping technique in the deployment descriptor you are referring to what I described in post 1. Like there is no simple way I'm missing to map one url to another from inside the web.xml.