Hi Sebastien,
I see... :)
Thank you!!
--
Bongjae Chang
----- Original Message -----
From: Survivant 00
To: 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>
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