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 - CSS validation in JSP include
Summary: CSS validation in JSP include
Status: NEW
Alias: None
Product: javaee
Classification: Unclassified
Component: JSP (show other bugs)
Version: 8.0.2
Hardware: PC All
: P3 normal (vote)
Assignee: issues@javaee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-15 17:44 UTC by molzb
Modified: 2015-06-16 12:36 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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?