-
1. Re: Accessing static welcome-file
jaikiran Sep 6, 2013 1:06 AM (in response to slrslr)Which exact version of WildFly is this?
I want to do a welcome-file, so that accessing http://localhost:8080/servlet-example/ redirects to the index.html page.
Putting this in web.xml does not work:
<welcome-file-list>
<welcome-file>index.html</welcome-file>
</welcome-file-list>
I think that should have worked fine for index.html. What exact problem do you run into?
-
2. Re: Accessing static welcome-file
slrslr Sep 11, 2013 3:25 AM (in response to jaikiran)Hello,
I use wildfly alpha 4 (so using undertow and no more jboss web).
The problem when I access the context-root is that it does not redirect to the HTML welcome file page, I just have a "404 not found" instead.
-
3. Re: Accessing static welcome-file
ctomc Sep 11, 2013 8:56 AM (in response to slrslr)Hi,
this should be fixed in latest nightly builds.
can you it try to confirm?
you can find instructions on how to obtain nightly builds: WildFly nightly builds available
or you can always build server yourself
--
tomaz
-
4. Re: Accessing static welcome-file
ctomc Sep 12, 2013 6:04 AM (in response to ctomc)1 of 1 people found this helpfulI need to correct myself, this was fixed in undetow Beta13 that is coming to upstream wildfly today