Re: Default page like index.m

Doug Kirk <[email protected]>
Newsgroups gmane.comp.web.maverick.general
Message-ID <[email protected]>
Hmmm.  I have the following in my web.xml and it works just fine:

<welcome-file-list>
   <welcome-file>index.vm</welcome-file>
</welcome-file-list>

*.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 just a mapping to the JspServlet in the master web.xml in the Tomcat 
configuration.

So, in Tomcat (at least 4.1.24), I think setting the welcome file list 
in web.xml appropriately should work.

> How can you set up the default page to work like index.jsp would 
> without a browser redirect?
>
> Travis



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
[INVALID FOOTER]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.