Advertisement

02.20.2008 at 11:30AM PST, ID: 23178810
[x]
Attachment Details

According to TLD or attribute directive in tag file, attribute value does not accept any expressions

Asked by courtenayt in Apache Web Server, Java Server Pages (JSP), Java Standard Tag Library (JSTL) & Server Tags

Tags: apache, tomcat, 6, Java, jsp, n/a, n/a

Hi,

I am receiving the following error message:

According to TLD or attribute directive in tag file, attribute value does not accept any expressions

on this code:
&nbsp;<a href="<c:out value="current_uri"/>&view_sfdid=<c:out value="${required_actions.sfdid}"/>">View</a>&nbsp;

I know this code works, because it is just fine on my REsin server.

I've looked up stuff online about this, including changing

<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>

to
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
or
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %>

but this does not solve the problem.  My web.xml file contains the following:

<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xmlns="http://java.sun.com/xml/ns/javaee"
      xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
      xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
      id="WebApp_ID" version="2.5">

I am using Tomcat 6.

Does anyone know how I can fix this problem?

Thanks,
Courtenay

Start Free Trial
[+][-]02.20.2008 at 01:01PM PST, ID: 20941914

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Apache Web Server, Java Server Pages (JSP), Java Standard Tag Library (JSTL) & Server Tags
Tags: apache, tomcat, 6, Java, jsp, n/a, n/a
Sign Up Now!
Solution Provided By: courtenayt
Participating Experts: 0
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628