do you have <taglib> define in the web.xml file? might be the ordering of your other directives, try looking at the DTD.
nick On Fri, 4 Jul 2003, Neil Zanella wrote: > > Well, now I am not entirely sure that it is mandatory, because I have > a JSP page such that when I change the WEB-INF/web.xml to include the > following lines (for connecting to a database which is not yet on the > network): > > <context-param> > <param-name> > javax.servlet.jsp.jstl.sql.dataSource > </param-name> > <param-value> > jdbc:postgresql:foodb,org.postgresql.Driver,johndoe > </param-value> > </context-param> > > and save the .jsp file without making any modifications to it, I get > the following error, but the error is not caused by a change in the > .jsp file; it's caused by the above lines: > > org.apache.jasper.JasperException: This absolute uri > (http://java.sun.com/jstl/core) cannot be resolved in either web.xml or > the jar files deployed with this application > > This is clearly wrong!!! BTW I have not been able to connect to the data > source yet so I'm not sure yet if that would fix it, but the error is > clearly the wrong error, and is introduced by the above lines. > > Why is this happening? (almost would seem like a bug: Tomcat 4.1.24) > > Neil > > On Mon, 30 Jun 2003, Shawn Bayern wrote: > > > On Mon, 30 Jun 2003, [gb2312] guo yingshou wrote: > > > > > If it is *mandatory*,why the web-app.dtd still specifiy an optional > > > taglib element?Just for backward compatibility? > > > > That's part of it, and it's also necessary for cases where a tag library > > doesn't package its JAR in the format necessary for it to work. Note that > > it's mandatory for the container to support it; it's not mandatory for a > > taglib author to deploy his or her libraries in this fashion (though it's > > probably a good idea in all cases). > > > > > > > --------------------------------------------------------------------- > 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]