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.

Bug 253010

Summary: CSS validation in JSP include
Product: javaee Reporter: molzb
Component: JSPAssignee: issues@javaee <issues>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.0.2   
Hardware: PC   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description molzb 2015-06-15 17:44:38 UTC
Netbeans recognizes CSS classes, when you mention the CSS file in a <link> tag.
Ex. index.jsp
<link href="whatever.css" ...>
<div class="classInWhatever">...</div><!-- classInWhatever is found, no error -->

Problem:
But it doesn't recognize CSS classes, when the CSS file is in a <jsp:include> or a <%@ file include> tag.
<jsp:include page="whatever.css"/>
<div class="classInWhatever>...</div> <!-- Editor shows 'Class classInWhatever is not found' -->

Solution:
The CSS validator should recognize all classes included with <jsp:include> or <%@ file include>.
Comment 1 Milutin Kristofic 2015-06-16 12:36:15 UTC
Should not JSP deal with this?