According to TLD or attribute directive in tag file

I wanted to use JSTL in my project, but whole day I was fighting with a message: According to TLD or attribute directive in tag file, attribute value does not accept any expressions.

My code was following:

 

Setting the value: ?Hello World!? and the problem still persisted. Then, on one forum I found a solution. It is the old version of JSTL and even if I copied the newest standard.jar and jstl.jar into WEB-INF/lib, it did not dissapear. The trick is here:

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

.. now everything works fine

 

Comments  

 
0 #1 sasa-bms 2010-06-16 08:55
the JSP is using the 1.2 JSP (and 1.0 JSTL) and EL expressions aren't understood
change

to
Quote
 
 
+3 #2 Jeeva veradis 2010-06-16 11:35
Thanks a lot.. :lol: :lol:
Quote
 
 
+2 #3 manmeet khanuja 2010-06-17 05:04
I am getting the same error .Plz help ...
Quote
 
 
+4 #4 Jaykishan Parikh 2010-07-08 10:49
Thanks buddy !!!

I have spent hours to resolve this :-? :-? .. Finally I reached this site and your advice has solved my problem..

Thanks once again :-)
Quote
 
 
+1 #5 Another Option 2010-07-23 14:56
It worked for me too...

I got another option

use this only



but in web.xml




.................



try it.... I don't know whats happening internally... But it's working fine... if any 1 finds answer let me know
Quote
 
 
+1 #6 Marcos Morais 2010-08-25 06:15
Oh My Gosh!!!!

After working hours on if and don't know hot to make it work... you gave me the solution!!!

You are the savior of my code... :)

GOD really bless you!!!!!!
Quote
 
 
0 #7 uma 2010-09-06 09:38
Thanks alot it worked for me :-)
Quote
 
 
0 #8 jypdtonga 2010-09-13 14:54
thx ! you are my hero of the day -.-
Quote
 
 
-1 #9 Anup 2010-09-16 06:41
Thanks a lot :lol:
Quote
 
 
0 #10 hansih 2010-09-30 06:58
Thanks aloot. saved the day
Quote
 
 
0 #11 Rajendra jogas 2010-12-28 19:50
:D Thnks a lot
Quote
 
 
-1 #12 kishorep 2011-02-03 20:02
This helped me a lot.
Quote
 
 
0 #13 Varun Bhat 2011-12-05 07:39
Thanks dude :-)
Quote
 
 
0 #14 Rajesh Bansal 2012-01-02 20:24
Its magic!!!!!
for(;true;)
System.out.println("Thanks");
Quote
 
 
0 #15 Amit sk 2012-01-19 16:58
Thanks a lot!!!
Quote
 
 
0 #16 Chandras 2012-01-28 07:40
You Gave Awesome one line which jus solved my prob in 1 Minute... Thx alot for Save my time ....... Expect More number of solutions like this for different errors.. Goahead ...... :D
Quote
 
 
0 #17 AsaPers 2012-01-30 13:23
Thanks a lot...
Quote
 
 
0 #18 yp 2012-03-25 17:20
Thanks a very much for saving my so much time....
Quote
 
 
+1 #19 Asshu 2012-08-16 14:04
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:
&





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



to

or


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


I am using JBoss 5 server.
Does anyone know how I can fix this problem?
Quote
 

Add comment


Security code
Refresh

Latest News

Get the latest freelance project announcements
Follow CodeGravity.com

Download ExtraWatch™

ExtraWatch™ FREE is Joomla, Wordpress, Prestashop, Magento plugin with following features: Live Stats, Nightly Email Reports, Goals, Graphs, Anti-spam, History and more