Thanks a lot Doug. That did fix my problem.
Amit
----Original Message Follows---- From: Doug Schnelzer <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: Jetspeed Users List <[email protected]> Subject: Re: J2 - jstl - Expressions are not allowed Date: Wed, 9 Mar 2005 15:15:16 -0500
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 2.3 to 2.4.
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
On Wed, 09 Mar 2005 14:02:03 -0500, Shah Amit <[EMAIL PROTECTED]> wrote:
> 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]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
