| Author |
Expressions problem
|
Peter Braun
Ranch Hand
Joined: Feb 09, 2005
Posts: 57
|
|
Hello, I made the following JSP page: When I try to reach this page I get an errormessage: org.apache.jasper.JasperException: /WEB-INF/jsp/include.jsp(8,1) According to TLD or attribute directive in tag file, attribute value does not accept any expressions If I don't use expressions it works. JSTL jar-s are included in my war file. I think I'm missing something, but don't know what. Do you have idea? Thanks in advance, Peter [ December 16, 2005: Message edited by: Peter Braun ]
|
 |
Sushma Sharma
Ranch Hand
Joined: Jun 02, 2005
Posts: 139
|
|
hi, just check if EL is enabled in your page/web application. at the page level, check if your page directive have "ELIgnored" as false, then it should work. at web application level, check if there is any <iselignored> tag under jsp-property-group tag and it's value is false. by default, el is enabled, so if you haven't specifically disabled it, the jsp should evaluate an el expression. btw, there are spaces between ( c and : ) and ( : and out ) in "<c : out". i hope you don't have spaces in your real jsp.
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56543
|
|
What version of JSP are you using? This is a common error when mismatched versions of the JSTL and JSP are used. See the JSP FAQ for more details.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56543
|
|
|
P.S. The URIs that you are using indicate JSTL 1.0. If your container is JSP 2.0, you need to be using JSTL 1.1.
|
 |
 |
|
|
subject: Expressions problem
|
|
|