This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 187499 - Root Context Path results in wrong Run URL
Summary: Root Context Path results in wrong Run URL
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Infrastructure (show other bugs)
Version: 6.x
Hardware: PC Windows Vista
: P2 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-11 22:44 UTC by bht
Modified: 2010-08-11 03:13 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bht 2010-06-11 22:44:24 UTC
File|New Project|Java Web|Web Application|Next
Next
Server: GlassFish V3
Java EE Version: Java EE 6 Web
Context path: erase default content of field. Aim is root context.
Next|Finish
Project window|select project|right click|Run

Watch browser window

Expected behavior:

http://localhost:8080/

Actual behavior:

http://localhost:8080//

Project Properties|Run|Context Path

Change from zero length to / is not possible, so it appears that the initial entry of zero length was correct.

My experience with NB Java EE web support is otherwise very good.
Comment 1 David Konecny 2010-06-13 19:58:28 UTC
Deployment API sets the URL to open in a browser (if I remember the code well).
Comment 2 Petr Hejl 2010-08-10 11:39:04 UTC
Fixed in web-main dee9d7d4076b.
Comment 3 Quality Engineering 2010-08-11 03:13:31 UTC
Integrated into 'main-golden', will be available in build *201008110001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/dee9d7d4076b
User: Petr Hejl <phejl@netbeans.org>
Log: #187499 Root Context Path results in wrong Run URL