users@glassfish.java.net

Re: Issue with Servlet 3.0 resource handling

From: Noah White <emailnbw_at_gmail.com>
Date: Mon, 5 Nov 2012 21:22:49 -0500

Hi Shing,

Thanks for your reply. I rebuilt the project and restarted the server and now the index.html resource is being delivered as expected in either case. I'm not sure what was going on before. Sorry for a false alarm.

-Noah

On Nov 5, 2012, at 6:48 PM, Shing Wai Chan <shing.wai.chan_at_oracle.com> wrote:

> Hi Noah,
>
> I have the following locally:
> 1. my.war with the content: WEB-INF/lib/my.jar, without web.xml
> 2. in my.jar, we have
> META-INF/resources/foo/index.html
> META-INF/resources/index.html
>
> I can access the following with the correct contents:
> http://localhost:8080/my/index.html
> http://localhost:8080/my/foo/index.html
>
> Shing Wai Chan