NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
arthury
Joined: 16 Feb 2011 Posts: 5
|
Posted: Wed Feb 16, 2011 8:00 pm Post subject: GF: Default appl welcome page |
|
|
All,
I have been looking around in the manuals and Goolging but cannot find the answer to this supposedly simply scenario.
If I have a web application built in NetBeans using Glassfish and deployed it locally in localhost.
When I use a browser to hit this
[1] http://localhost:8080/MyAppl/
versus
[2] http://localhost:8080/MyAppl/index.html
Where on earth is it rendering the HTML page from in [1]?
[1] and [2] are currently rendering differing contents.
I have checked my configs in
a) web.xml
b) domain.xml
and both looks good.
Please shed some light.
Thanks,
Art |
|
| Back to top |
|
 |
Tony Posted via mailing list.
|
Posted: Thu Feb 17, 2011 10:07 am Post subject: Re: GF: Default appl welcome page |
|
|
Project/Properties/Run
Tony
-----Original Message-----
From: arthury [mailto:address-removed]
Sent: 16 February 2011 20:00
To: address-removed
Subject: [nbj2ee] GF: Default appl welcome page
All,
I have been looking around in the manuals and Goolging but cannot find the
answer to this supposedly simply scenario.
If I have a web application built in NetBeans using Glassfish and deployed
it locally in localhost.
When I use a browser to hit this
[1] http://localhost:8080/MyAppl/
versus
[2] http://localhost:8080/MyAppl/index.html
Where on earth is it rendering the HTML page from in [1]?
[1] and [2] are currently rendering differing contents.
I have checked my configs in
a) web.xml
b) domain.xml
and both looks good.
Please shed some light.
Thanks,
Art |
|
| Back to top |
|
 |
troy a. giunipero Posted via mailing list.
|
Posted: Fri Feb 18, 2011 9:37 pm Post subject: Re: GF: Default appl welcome page |
|
|
I'm pretty sure this is a result of the Servlet 3.0 Specification.
The index.html (and index.jsp) page is mapped by default when there is no mapping in the deployment descriptor. So if GlassFish' servlet container adheres to the Servlet 3.0 spec (it does), the application will try to serve these pages when none is specified.
On 16 February 2011 20:00, arthury <address-removed ([email]address-removed[/email])> wrote:
| Quote: | All,
I have been looking around in the manuals and Goolging but cannot find the answer to this supposedly simply scenario.
If I have a web application built in NetBeans using Glassfish and deployed it locally in localhost.
When I use a browser to hit this
[1] http://localhost:8080/MyAppl/
versus
[2] http://localhost:8080/MyAppl/index.html
Where on earth is it rendering the HTML page from in [1]?
[1] and [2] are currently rendering differing contents.
I have checked my configs in
a) web.xml
b) domain.xml
and both looks good.
Please shed some light.
Thanks,
Art
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|