dev@grizzly.java.net

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

From: Survivant 00 <survivant00_at_gmail.com>
Date: Tue, 25 Aug 2009 13:05:26 -0400

sure I'm.

just didn't had time.. working on something else.

I opened a issue for that (enhancement)..

Put the work to do there..



2009/8/25 Jeanfrancois Arcand <Jeanfrancois.Arcand_at_sun.com>

> Salut,
>
> patch welcomed :-) That should be pretty simple as the mechanism is already
> been implemented inside the Mapper. Is someone is interested let me know and
> I will elaborate more.
>
> Thanks
>
> -- Jeanfrancois
>
> Bongjae Chang wrote:
>
>> Hi Sebastien,
>> I see... :)
>> Thank you!!
>> --
>> Bongjae Chang
>>
>> ----- Original Message -----
>> *From:* Survivant 00 <mailto:survivant00_at_gmail.com>
>> *To:* dev_at_grizzly.dev.java.net <mailto:dev_at_grizzly.dev.java.net>
>> *Sent:* Thursday, August 20, 2009 8:57 PM
>> *Subject:* Re: Is "welcome-file-list" supported in
>> GrizzlyWebServerDeployer?
>>
>> 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 <mailto: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
>> <mailto:dev-unsubscribe_at_grizzly.dev.java.net>
>> For additional commands, e-mail: dev-help_at_grizzly.dev.java.net
>> <mailto:dev-help_at_grizzly.dev.java.net>
>>
>>
>>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: dev-help_at_grizzly.dev.java.net
>
>