Re: [Mav-user] Default page like index.m

2003-09-13 Thread Travis Reeder
Ya, That's exactly what i have done. I put a blank index.m file in my dir so tomcat picks it up too. Thanks to the other person who responded a while back. Travis Doug Kirk wrote: Hmmm. I have the following in my web.xml and it works just fine: index.vm *.vm is mapped to the VelocityLa

Re: [Mav-user] Default page like index.m

2003-09-13 Thread Ted Husted
The welcome-file-list is just that, a list. The http server is suppose to run down the list, looking for each file, and the first one it find wins. If none of these are found in the file system, then it's 404. The servlet container portion of the code is not involved in any of this. A index.vm

Re: [Mav-user] Default page like index.m

2003-09-13 Thread Doug Kirk
Hmmm. I have the following in my web.xml and it works just fine: index.vm *.vm is mapped to the VelocityLayoutServlet in my webapp's web.xml. I would expect a specification of 'index.m' to work as well, since it's just running the servlet that's mapped to '*.m'. And after all, '*.jsp' is j

Re: [Mav-user] RE: Default page like index.m

2003-09-13 Thread Ted Husted
Ahh, well, it's not actually up to the container. The HTTP server resolves the welcome page before it ever gets to the servlet container, and there lies rub. =:( Incidentally, if some of you received my original post on this thread twice, I apologize. I sent it yesterday, and when it never appe