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.
Multiple <url-pattern> inside <filter-mapping>, which is okay per Servlet 2.5 schema, is not allowed by the editor in NetBeans 6.5 Beta. It looks fine in NetBeans 6.0.1 (I haven't tested this in NetBeans 6.1). For example, <filter-mapping> <filter-name>LoginFilter</filter-name> <url-pattern>/admin/*</url-pattern> <url-pattern>/admin2/*</url-pattern> <dispatcher>FORWARD</dispatcher> <dispatcher>REQUEST</dispatcher> <dispatcher>INCLUDE</dispatcher> </filter-mapping> will cause error when trying to open any GUI editor for web.xml.
The issue seems to be valid as far as I can tell. Look like improperly (?) created bean mapping. I didn't functionality in 6.1.
XML schema is not org.netbeans.modules.j2ee.dd.api.web aligned with the allowed one: <!-- TODO: fix this in DD API <xsd:choice minOccurs="1" maxOccurs="unbounded"> --> Workaround is splitting the filter mapping to multiple elements.
The root cause is issue 76060. Unfortunately I'm not sure whether this can be fixed for 6.5, I will investigate. Please use the mentioned workaround for now.
The issue is valid, but the fix for this would require changes in several areas and it would therefore be rather risky to fix this for 6.5 at this point. I think this is not a show stopper for 6.5, so setting TM => 7.0.
I am lowering the priority because there is a work around.
Hi Denis, is this a duplicate of issue 163396? Thanks.
That's right. It is duplicate. *** This issue has been marked as a duplicate of 163396 ***