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]



Reply via email to