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 114385 - EL doesn't respect web.xml settings
Summary: EL doesn't respect web.xml settings
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:
Depends on:
Blocks:
 
Reported: 2007-08-31 15:07 UTC by Jindrich Sedek
Modified: 2016-07-07 08:56 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 Jindrich Sedek 2007-08-31 15:07:54 UTC
Create new WebApplication
in index.jsp use expression language "${message}"
add this code into web.xml:
------------------
    <jsp-config>
        <jsp-property-group>
            <url-pattern>/index.jsp</url-pattern>
            <el-ignored>true</el-ignored>
        </jsp-property-group>
    </jsp-config>
-------------------
expression language in index.xml is still enabled, but it should be ignored

JSP 2.1 specification: JSP.3.3.2 Deactivating EL Evaluation
Comment 1 Marek Fukala 2007-10-22 18:59:37 UTC
putting <%@ page isELIgnored="true" %> into a JSP file disables the coloring - after the file is parsed, the coloring of
EL disappears. So if you put the code into web.xml and the coloring doesn't react, it is clear bug in jsp parser
infrastructure.
Comment 2 Petr Pisl 2007-10-25 11:09:49 UTC
This looks like a problem with the caching information. When you close and open the page then the parser provide the
right information. 
Comment 3 Jindrich Sedek 2007-10-25 16:55:44 UTC
I'm trying to reproduce it now and it seems to become recolored after "few" edit actions, but it's not updated after 
closing and reopening the file.
Comment 4 Tomas Mysik 2008-02-25 17:45:26 UTC
I will try to look at it.
Comment 5 Jiri Prox 2008-04-11 01:17:41 UTC
moving opened issues from TM <= 6.1 to TM=Dev
Comment 6 Tomas Mysik 2008-06-19 15:24:24 UTC
This issue is already fixed - the same cause as in issue #133702. Please verify and reopen if I'm wrong. Thanks.
Comment 7 Jindrich Sedek 2008-07-03 12:08:45 UTC
I can still reproduce the same problem. Adding the code into web.xml doesn't influence the jsp file - editing file 
neither closing and reopening file doesn't update the coloring.

The only way a can force the editor to update coloring is editing and saving index.jsp.
Comment 8 Marek Fukala 2010-05-06 20:19:35 UTC
A minor issue. In general the web.xml setting for disabling EL is taken into account. The case when user changes the value in the descriptor is pretty rare imho.
Comment 9 Martin Balin 2016-07-07 08:56:08 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