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 245844

Summary: NetBeans doesn't mark errors and show completion in JSPs inside Java SE Project
Product: javaee Reporter: iluvtr
Component: JSPAssignee: issues@javaee <issues>
Status: NEW ---    
Severity: normal CC: marfous, mmirilovic, pjiricka
Priority: P2    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Attachments: NB doesn't mark errors and doesnt' show completion
There's no completion for JSTL tags
NB Doesn't mark errors in JSTL tags

Description iluvtr 2014-07-21 13:04:38 UTC
Created attachment 148175 [details]
NB doesn't mark errors and doesnt' show completion

As you know Servlet 3.0 brought us the capability to include static files like JSPs in JARs. In order to take advantage of this feature I can create a Java SE project and include there my JSPs, Tag Files as a part of the resulting JAR.
But sadly NB doesn't give enough completion and marking of errors in JSPs and Tag Files. I'm attaching images
Comment 1 iluvtr 2014-07-21 13:05:21 UTC
Created attachment 148176 [details]
There's no completion for JSTL tags
Comment 2 iluvtr 2014-07-21 13:05:57 UTC
Created attachment 148177 [details]
NB Doesn't mark errors in JSTL tags
Comment 3 Vladimir Riha 2014-07-21 13:40:25 UTC
reproducible. I'm not sure where it belongs so reassigning to JavaEE, please reassign it if I'm wrong. Thanks


Product Version: NetBeans IDE Dev (Build 201407200001)
Java: 1.8.0_05; Java HotSpot(TM) Client VM 25.5-b02
Runtime: Java(TM) SE Runtime Environment 1.8.0_05-b13
System: Linux version 3.13.0-32-generic running on i386; UTF-8; en_US (nb)
Comment 4 Martin Fousek 2014-07-24 07:50:17 UTC
Thanks for your report. Such a functionality - JSPs inside the JavaSE project - is not supported so far. I took a look into the JSP parser and everything is WebModule based which means, that the parsing support works only in cases of web project now, sorry.

I'm turning this issue into enhancement for future releases. Sorry, we are not able to help you into the next release since such a big feature would lead to many regressions.