I found this same behavior - details here:

http://tinyurl.com/mghn

Matt

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Saturday, September 06, 2003 8:47 AM
To: Tag Libraries Users List
Subject: Re: According to TLD or attribute directive in tag file,
attribute test does not accept any expression


Hi Rick,

Hummm, a JSTL 1.0 based webapp should run unchanged on a JSP 2.0
container.

All details on backwards compatibility are provided in the 
new JSTL 1.1 spec, appendix A (see http://java.sun.com/jstl).

Please have a look, and send me simple war files that reproduce your
problem(s). The migration to JSP 2.0 and/or JSTL 1.1 should definitely
be smoother than the one 
you've experienced ;-) 

    -- Pierre

Rick Ross wrote:

> That is the error I kept getting with the simplest of JSTL in a page 
> now
> that I converted over to Tomcat 5.0.9 from 4.1.24
> 
> After a wee bit of trial and error, I realized that the _rt libraries 
> are required with JSP 2.   Perhaps others will have known this off the

> bat, but it didn't occur to me until I got slapped by it (my wife can
> vouch for that as my standard learning style).
> 
> So, as with Tomcat 4.1.x, you don't need anything in your web.xml nor
> any TLDs explicitly hanging around (so long as they are in the jar)
> However, you will need to reference the "rt" versions of all of the 
> functionality.  So every:
> 
> <%@ taglib uri="http://java.sun.com/jstl/core"; prefix="c" %>
> 
> Needs to be replaced with
> 
> <%@ taglib uri="http://java.sun.com/jstl/core_rt"; prefix="c" %>
> 
> or better yet with the explicit xmlns: declaration (which I haven't
> bothered with yet.)
> 
> R
> 
> 
> ---------------------------------------------------------------------
> 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]

Reply via email to