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.
Invalid standard action is indicated in the following line (jsp) of all Visual Web Pages even the one created by default: <jsp:root version="2.1" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:webuijsf="http://www.sun.com/webui/webuijsf"> This is preventing me from deploying/completing my project. Some notes about the trouble shooting so far: 1. Discussed in nbuser mail list- it seems almost no one can regenerate the error. 2. Tried creating a new project from scratch but the error is found also in the default page. (on both 6.0.1 and 6.1 Beta) 3. Uninstalled/Installed version 6.1 without importing settings from 6.0 just in case in case a setting was creating the problem. 4. Opened project in 6.0.1 with same results.
I cannot reproduce this. I tried in 6.0.1 project, copied the jsp:root you supplied above and replacing the original one, it builds and deploys on Tomcat OK. 1. can you supply a project 2. can you supply jdk version 3. did you remove the line above the jsp:root tag, i.e. <?xml version="1.0" encoding="UTF-8"?>
Could you explain more on "Invalid standard action is indicated". When do you get the error? What action causes the error? Please attach a sample project or the JSP where you see the problem. Also explain in detail about all the errors you get while deploying the project. Which server do you deploy? This would help us to pin point the bug.
this seems to be corrected on 6.1 RC1. At least the error doesn't appear in newly created pages in the mentioned version.
Got the same issue on build 200911190201
I found and fixed the issue. Is easy to fix but needs to be fixed in NB as well. According to jspstandard the jsp:root tag has to be the first tag or an errorocurs Change the place of the netbeans <!-- Comment Block --> <?xml version="1.0" encoding="UTF-8"?> <jsp:root version="2.1" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:webuijsf="http://www.sun.com/webui/webuijsf"> <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/> <!-- Document : index Created on : Nov 19, 2009, 9:01:30 AM Author : Javier A. Ortiz Bultrón <javier.ortiz.78@gmail.com> --> So in other words the jsp template needs to place the comments somewhere else.
Is currently happening in 6.8
Corrected some fields.
Hi, I don't understand. You are saying this is happening in NB 6.8 - what are the steps to reproduce in 6.8? Thanks.
I recon the user complains about the xml comment preceding the <jsp:root/> element which is supposely invalid according to the JSP spec. I quite doubt there is such rule - yes, <jsp:root/> tag must be first, but xml comments IMO doesn't play any role here, they are ignored. But maybe I am wrong, it is just suspicious... The jsp document template is generated this way (xml comment preceding the root tag), but the there is no error flagged in the editor and the applicatation deploys and runs on Glassfish v3 correctly. Reporter, can you please confirm this is the problem? If so, please describe the consequences in detail. For me there are none. Thanks.
I confirm the problem. In my case I'm trying to run on Tomcat. It'll deploy without issues but when you try to get into that jsp page the error appears. Either that or an error badge appears in the jsp code.
Please create a sample web application with just one such page where you can reproduce and attach it packed here. Thanks.
Unable to reproduce on a brand new project so the issue might be related to upgrading old Web projects to use Visual Web. I'll try to get an instance of the error and attach a project as requested.
OK, thanks, closing meanwhile...