Amit,

I just had that problem too.  In my case it was because I was using the
Servlet 2.4 spec.  I don't know the details behind what changed in the JSTL
from.

I change the declaration in my web.xml header from:

<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";>

To 

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application
2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd";>

I was fine after that.

Hope that helps,
- Doug

-----Original Message-----
From: Shah Amit [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 09, 2005 2:02 PM
To: [email protected]
Subject: J2 - jstl - Expressions are not allowed

Hi,

I created my own portlet, and I am trying to use expressions in jstl but 
they are failing saying that they are not allowed.

I had to go to the "c.tld" file and change 
"<rtexprvalue>false</rtexprvalue>" to "<rtexprvalue>true</rtexprvalue>" to 
allow those.

Can someone please tell me what I am doing wrong ... I noticed that lot of 
sample applications of jetspeed use expressions, and they dont have to do 
this ...

Thanks,
Amit



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to