dev@grizzly.java.net

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

From: Survivant 00 <survivant00_at_gmail.com>
Date: Thu, 20 Aug 2009 07:57:41 -0400

nope. https://grizzly.dev.java.net/issues/show_bug.cgi?id=542

it's in the TODO list. GrizzlyAdapter need refactoring to be able to accept
that.

I think we will do that in the new project : (forgot the name :) )



2009/8/20 Bongjae Chang <carryel_at_korea.com>

> 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
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: dev-help_at_grizzly.dev.java.net
>