Re: how to set index.faces as welcome-file

2005-07-27 Thread Marten Lehmann
Hello, thanks for your class. I'm not usig it (and I guess its partially wrong, because you can't simply append the welcome-file the the path-info), but it inspired me to create a better way: Through a filter. I attached the filter-class, you would integrate it in the web.xml as follows:

Re: how to set index.faces as welcome-file

2005-07-26 Thread Martin Bromley
It took me a while to get welcome files working with the SpringMVC web framework. I created the attached servlet to get things working properly. It requires servlet spec 2.4, and it works by mapping the welcome file to a servlet, WelcomeFileServlet, rather than direct to a JSP. The WelcomeFi

Re: how to set index.faces as welcome-file

2005-07-26 Thread Christoph Kutzinski
Create a dummy index.faces file. I did it this wy with Struts and index.do so I assume it should work with faces, too. hth, Christoph Marten Lehmann wrote: Hello, I tried to put the following into web.xml: index.faces But obviously, this doesn't work, because there is no file index.f

how to set index.faces as welcome-file

2005-07-26 Thread Marten Lehmann
Hello, I tried to put the following into web.xml: index.faces But obviously, this doesn't work, because there is no file index.faces, but index.jsp. However, if the index.jsp isn't called through index.faces, the FacesContext isn't used. How can I achieve this as expected? I don't