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.
When copying a JSP file to a subfolder of "Web Pages" an "package subfolder;" statement is automatically prepended to the newly created file. I assume this is not the intended behaviour. To reproduce create a new empty Web Application project, right click on Web Pages, choose New->Other... and create a new Folder called test. Now right click on the index.jsp initially created with the new project and choose Copy from the context menu, then paste it into the new test folder. The page will contain the text "package test;"
Looks like a jspeditor issue to me. If not, please reassign thanks
Looks like very same problem as issue 153150. *** This issue has been marked as a duplicate of 153150 ***