dev@grizzly.java.net

Is "welcome-file-list" supported in GrizzlyWebServerDeployer?

From: Bongjae Chang <carryel_at_korea.com>
Date: Thu, 20 Aug 2009 20:47:51 +0900

Hi,

When I tested "welcome-file-list" in web.xml, it seemed that it didn't work yet.

I tested it simply like this.

>java -jar grizzly-servlet-deployer.jar --application=welcometest.war

welcometest.war only includes index.html and WEB-INF/web.xml.

Here is web.xml
---
<web-app>
    <welcome-file-list>
        <welcome-file>index.html</welcome-file>
        <welcome-file>index.htm</welcome-file>
        <welcome-file>index.jsp</welcome-file>
    </welcome-file-list>
</web-app>
---

When I reviewed the deployer class simply, WebApp#getWelcomeFileList() was not used yet.

Is "welcome-file-list" not supported now?

But, when I reviewed Mapper.java and GrizzlyAdapterChain.java, it seemed that they considered welcome resources of default index.html and index.htm.(But I am not sure).

I attached a simple web app.

Please advice me.

Thanks.

--
Bongjae Chang