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 156895 - Duplicating JSPs adds garbage at top
Summary: Duplicating JSPs adds garbage at top
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: issues@javaee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-15 14:52 UTC by _ proxity
Modified: 2016-07-07 08:55 UTC (History)
0 users

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 _ proxity 2009-01-15 14:52:34 UTC
In a web project select a JSP file that is not directly located in "Web Pages",
but at lest in one directory, e.g. "Web Pages"/abc/index.jsp
Now use copy and paste in the context menu to get a copy named index_1.jsp in the same directory.
If you open index_1.jsp you can see at the top that the UI added

package abc;

Please fix that.
Comment 1 _ proxity 2009-01-16 15:55:47 UTC
Sorry, used wrong version. I'm talking about 6.5, the current release.
Comment 2 Martin Balin 2016-07-07 08:55:47 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