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 48686 - Relative URL without leading slash in web project properties doesn't work
Summary: Relative URL without leading slash in web project properties doesn't work
Status: VERIFIED WORKSFORME
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Tomcat (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P4 blocker (vote)
Assignee: issues@serverplugins
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-08 14:59 UTC by Jiri Skrivanek
Modified: 2008-09-17 11:42 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 Jiri Skrivanek 2004-09-08 14:59:20 UTC
If you type URL without leading slash in the
Relative URL field in web project properties, IDE
joins context path and relative URL and such an
URL is invalid.
For example:
- create web project AAA
- open project properties
- navigate to Run|Running Project
- type index.jsp in Relative URL text field
- redeploy project => absolute URL is invalid
"http://localhost:8084/AAAindex.jsp"

Build 200409071800, WindowsXP, JDK1.5.0-b63.
Comment 1 pslechta 2008-09-17 10:23:06 UTC
The problem does not occur in NB 6.5. It works fine and slash is added between context path and relative URL if needed.
Closing as WORKSFORME.
Comment 2 Jiri Skrivanek 2008-09-17 11:42:53 UTC
Verified.