You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by stanlick <st...@gmail.com> on 2008/07/04 01:53:24 UTC

JSTL problem in v2.5 web application

I just installed the new Eclipse Ganymede and Tomcat 6.x server and created a
dynamic web app.  I added the JSTL jars to the project and after much
fussing around trying to get the jars to actually deploy to the WEB-INF/lib
folder, I am getting this error when trying to use the core tag library c:if
as follows

<c:if test="${!empty pageContext.session.id}">
${pageContext.session.id}
</c:if>

org.apache.jasper.JasperException: /index.jsp(20,0) According to TLD or
attribute directive in tag file, attribute test does not accept any
expressions

This worked fine in previous versions.

Also, any idea why I had to muck around in the Java EE Module Dependencies
to get the two JSTL jars to actually copy out of the workspace?

Peace,
Scott

-- 
View this message in context: http://www.nabble.com/JSTL-problem-in-v2.5-web-application-tp18270280p18270280.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: JSTL problem in v2.5 web application

Posted by stanlick <st...@gmail.com>.
That was it my brother!  I removed standard and jstl and installed the single
1.2 JSTL file and life is great.

Thanks,
Scott



David Smith-2 wrote:
> 
> What version of JSTL jars are you using and what do you have up at the 
> top of your jsp declaring the taglibs?  Seems like this is a mix up 
> using and older tld with a newer JSTL syntax or mixing versions of 
> standard.jar and jstl.jar.
> 
> --David
> 
> stanlick wrote:
>> I just installed the new Eclipse Ganymede and Tomcat 6.x server and
>> created a
>> dynamic web app.  I added the JSTL jars to the project and after much
>> fussing around trying to get the jars to actually deploy to the
>> WEB-INF/lib
>> folder, I am getting this error when trying to use the core tag library
>> c:if
>> as follows
>>
>> <c:if test="${!empty pageContext.session.id}">
>> ${pageContext.session.id}
>> </c:if>
>>
>> org.apache.jasper.JasperException: /index.jsp(20,0) According to TLD or
>> attribute directive in tag file, attribute test does not accept any
>> expressions
>>
>> This worked fine in previous versions.
>>
>> Also, any idea why I had to muck around in the Java EE Module
>> Dependencies
>> to get the two JSTL jars to actually copy out of the workspace?
>>
>> Peace,
>> Scott
>>
>>   
> 
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/JSTL-problem-in-v2.5-web-application-tp18270280p18283031.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: JSTL problem in v2.5 web application

Posted by David Smith <dn...@cornell.edu>.
What version of JSTL jars are you using and what do you have up at the 
top of your jsp declaring the taglibs?  Seems like this is a mix up 
using and older tld with a newer JSTL syntax or mixing versions of 
standard.jar and jstl.jar.

--David

stanlick wrote:
> I just installed the new Eclipse Ganymede and Tomcat 6.x server and created a
> dynamic web app.  I added the JSTL jars to the project and after much
> fussing around trying to get the jars to actually deploy to the WEB-INF/lib
> folder, I am getting this error when trying to use the core tag library c:if
> as follows
>
> <c:if test="${!empty pageContext.session.id}">
> ${pageContext.session.id}
> </c:if>
>
> org.apache.jasper.JasperException: /index.jsp(20,0) According to TLD or
> attribute directive in tag file, attribute test does not accept any
> expressions
>
> This worked fine in previous versions.
>
> Also, any idea why I had to muck around in the Java EE Module Dependencies
> to get the two JSTL jars to actually copy out of the workspace?
>
> Peace,
> Scott
>
>   


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org