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 - PageInfo.getExtends() returns a jasper-specific class by default
Summary: PageInfo.getExtends() returns a jasper-specific class by default
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: JSP Parser (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: issues@javaee
URL:
Keywords: API
Depends on:
Blocks:
 
Reported: 2007-09-21 14:00 UTC by Tomasz Slota
Modified: 2016-07-07 08:55 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 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