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 48717 - Copy/Paste a servlet should add an entry to web.xml
Summary: Copy/Paste a servlet should add an entry to web.xml
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@javaee
URL:
Keywords:
Depends on:
Blocks: 39433
  Show dependency tree
 
Reported: 2004-09-08 19:01 UTC by zikmund
Modified: 2016-07-07 08:53 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description zikmund 2004-09-08 19:01:31 UTC
Build 200409071800

1) Have a webapp with a servlet
2) Copy & paste the servlet (into the same package
or anywhere else)
3) ERROR:
Newly created copy of servlet is not automatically
added to web.xml.

Notice: It should be consistent with
Delete/Rename/Create actions + it worked in 3.6
although with an issue 39433.
Comment 1 zikmund 2005-02-15 13:36:28 UTC
Still valid for 4.1.
Comment 2 _ rkubacki 2005-03-16 21:46:07 UTC
Valid but dificult to fix without good spec. It can very likely introduce some
UI and we are too late in release cycle I'd defer this to future release.
Comment 3 Pavel Buzek 2005-11-10 06:03:19 UTC
I think that this is not a defect, it is a feature request.

Rename/Delete is a different issue, it only changes the class name and does not
need to work with servlet name, url patterns, etc.

Servlet wizard provides UI where the user enters the data. Using the defaults
silently is ok for wizard where the user expects this when she clicks Finish and
does not follow thru Next panels, but is not good when copy/pasting.
Comment 4 Martin Balin 2016-07-07 08:53:07 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss