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.
Steps to reproduce: 1. Create a web project 2. Create a folder called test in Web Pages 3. Create a JSP file in the test folder 4. Copy the file and paste it in the same directory Observed behaviour: When you open the copied file you will find that "package test;" has been added to the top of the page, which is not valid for JSP files.
Works correctly for me now in build 5049 from deadlock: http://deadlock.netbeans.org/hudson/job/trunk/ Was probably fixed by some other fix - can you please verify? Thanks.
I can confirm that the issue was fixed in the latest update.