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.
Correct the order of modifiers for the 'SUCCESS' forward in the Struts Action file template: /* forward name="success" path="" */ private final static String SUCCESS = "success"; Should be: /* forward name="success" path="" */ private static final String SUCCESS = "success"; This is based on the Java Language specification in section 8.3.1 detailed here: http://java.sun.com/docs/books/jls/second_edition/html/classes.doc.html Fixing this will result in fewer static analysis warning generated by tools like Checkstyle for people who use the file templates to generate Struts Actions.
Fixed. http://hg.netbeans.org/main/rev/e29e85711f7e