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 116314

Summary: PageInfo.getExtends() returns a jasper-specific class by default
Product: javaee Reporter: Tomasz Slota <tslota>
Component: JSP ParserAssignee: issues@javaee <issues>
Status: RESOLVED WONTFIX    
Severity: blocker Keywords: API
Priority: P4    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Tomasz Slota 2007-09-21 14:00:13 UTC
PageInfo.getExtends() always returns 'org.apache.jasper.runtime.HttpJspBase' when the 'page extends' directive is not explicitly specified.

There are two problems:

- the default class is jasper specific, it doesn't exist for example in GlassFish
- PageInfo.getExtends(false) still returns the default value, although it is not supposed to
Comment 1 Tomasz Slota 2007-09-21 14:03:53 UTC
I have committed a workaround for this issue to my code, it is due to be removed when this is fixed:

/cvs/web/jspsyntax/src/org/netbeans/modules/web/core/syntax/SimplifiedJSPServlet.java,v  <--  SimplifiedJSPServlet.java
new revision: 1.18; previous revision: 1.17
Comment 2 Jiri Prox 2008-04-11 01:13:15 UTC
moving opened issues from TM <= 6.1 to TM=Dev
Comment 3 Anton Chechel 2011-04-27 12:25:03 UTC
moving TM <= 6.7 to TM=Dev
Comment 4 Martin Balin 2016-07-07 08:55:32 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss