This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JSP and the fly likes JSP expression language error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "JSP expression language error" Watch "JSP expression language error" New topic

JSP expression language error

Indravadan T Patel

Joined: Sep 09, 2007
Posts: 29
Hi All,

why i get that error "According to TLD or attribute directive in tag file, attribute value does not accept any expressions"

the coding is :

<%@ taglib prefix="c" uri="" %>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>JSP Page</title>
You have entered :<br>
Name : <cut value="${param.fname}"/>
Basic : <cut value="${param[basic]}"/>

Christophe Verré

Joined: Nov 24, 2005
Posts: 14687

You are using JSTL1.0 (see this). Expressions are not allowed in the value attribute of the cut tag in JSTL1.0. Maybe you want to use 1.1 instead ?

[My Blog]
All roads lead to JavaRanch
Don't get me started about those stupid light bulbs.
subject: JSP expression language error
Similar Threads
Problems with EL in jsp pages
cset doubt??
<jsp:doBody> tag not displaying scriptlet as template text when the body content is tagdependent
getting variable value
New to JSP