> From: Charles N. Harvey III [mailto:[EMAIL PROTECTED] > > The ideal solution is the the servlet container would look through > the config file of the MVC controller you are using. So, in web.xml > you would define index.m as the default page. Then your container > would look at your maverick.xml file and find the mapping for index.m > that points to com.mycompany.project.HomeController. Then you wouldn't > have to have an index.jsp/.vm/.html. > > I'm not crazy, I realize how difficult that would be for the servlet > container. So I would recommend to keep using index files in the top > level directory that point to the default servlet mapping.
I would think much, much simpler than that would be to have a force-welcome-page (or somesuch) element in the container web.xml which can be used instead of the welcome-file-list. <force-welcome-page>welcome.m</force-welcome-page> Instead of searching for a welcome file, it would just take blah/ and convert it to blah/welcome.m. I guess this would be pretty easy to implement with a ServletFilter. Jeff Schnitzer [EMAIL PROTECTED] ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf [INVALID FOOTER]
