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.
it will accept <%@ page isErrorPage= "false" %> see attached errorpage.jsp this has been around for years -- whats going on?
Created attachment 92986 [details] will not compile in netbeans 6.8
Works fine for me. What server do you use? What type of web project? What target j2ee platform? Is there an error mark in the editor for the line? Does the problem appear only when you deploy the file or even if you do "compile file" in netbeans?
the problem does not occur if file deployed -- page only compiled on server if invoked. using gfv2.1 its from the j2ee1.4 java ee tutorial 2nd edition examples/samples the version 7 update of the examples. i will post a jpeg of the screen. F9 - compile single the jsp page fails, with options checkbox for compile jsp pages for project get the error also. error claims jsp page is self-referencing; wierdly -- some of the errorpages in the other bookstore samples projects do not give the error; have not test with deployment to gfv2.1 with compile jsp pages option so far.
Created attachment 93060 [details] shows issue shows errors; can zip up a project if necessary
This might be caused by a difference in the compilation between the bundled tomcat parser and the server you deploy to. Is that possible to attach the whole project or at least a part which can be used to reproduce the issue?
Created attachment 93127 [details] zipped up Sun web bookstore examples every project except perhaps 1 with isErrorPage="true" in an errorpage.jsp file will get jsp compilation errors. the projects are all do not deploy on save, and compile jsp in compiler options. if isErrorPage="true" is changed to isErrorPage="false" all errors go away.
Hmm, it works fine for me. What I did (on my Mac Os X, Glassfish v3): 1) opened bookstore java project, built it with success 2) opened books web project, resolved missing server, added JSTL 1.1 library 3) found errorpage.jsp inside, opened => no error 4) tried to build the project => success. Can someone from QE please check it with the exact reporter's configuration? Thanks in advance.
please build all examples; i found that bookstore3 builds fine, bookstore1 is servlets based --no jsp bookstore is a lib jar; others all get jsp compiler errors. thanks
Created attachment 93145 [details] shows compilation errors
just rechecking today; bookstore[2456] fail; bookstore[13] succeed. see attached jpeg
changed to deployment compilation of jsp -- not by netbeans. get same error for bookstore2 An error has occurred Deploying application in domain failed; JSP Compilation Error: org.apache.jasper.JasperException: file:G:/Sun/glassfish-v2ur2/domains/domain1/applications/j2ee-modules/bookstore2/template/errorpage.jsp(30,0) PWC6333: Error page "/template/errorpage.jsp" is self-referencing -- file:G:/Sun/glassfish-v2ur2/domains/domain1/applications/j2ee-modules/bookstore2/template/errorpage.jsp(30,0) PWC6333: Error page "/template/errorpage.jsp" is self-referencing JSP Compilation Error: org.apache.jasper.Jas...
Report from old NetBeans version. Due to code changes since it was reported likely not reproducible now. Feel free to reopen if happens in 8.0.2 or 8.1.