Re: Default page like index.m
Travis Reeder <[email protected]>
| Newsgroups | gmane.comp.web.maverick.general |
|---|---|
| Message-ID | <[email protected]> |
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: > > <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] > > . > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf [INVALID FOOTER]