I think I had a similiar problem. I just checked my system and I do NOT list the tag libraries in the web.xml and I do NOT have the tlds in the WEB-INF.
I know that's what the books say you must do, but thru many long days and nights I found that they were not necessary and might even cause a problem. Just try it At 11:05 PM 12/21/2002 +0100, you wrote: >Hi, > >I don't think this is the problem. Because the original web application - >standard-examples (bundled with JSTL 1.0) gives same error. >I checked the log file and I found this: >------------------ >2002-12-21 22:52:30 StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw >exception >org.apache.jasper.JasperException: null(-1,-1) This absolute uri >(http://java.sun.com/jstl/core) cannot be resolved in either web.xml or the jar files >deployed with this application >. >. >. >. >---------------- >Is here any configuration problem with Tomcat? > > Lajos Kerekes > >Lyndon Durham wrote: > >> Did you copy the tld's for the tag libraries to your web-inf directory? >> In addition does your web.xml have the necessary <taglib> entries in it. >> Example <taglib> >> <taglib-uri>/c.tld</taglib-uri> >> <taglib-location>/WEB-INF/c.tld</taglib-location> >> </taglib> >> >> Kerekes Lajos wrote: >> >> >Hello! >> > >> >I am a newbie. I have downloaded the JSTL 1.0, and copied the JAR files >> >into the >> >web-inf/lib directory of my application. I use Apache Tomcat/4.1.12 >> >under >> >Windows 98. >> >If I want to use the taglib directory >> ><%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %> >> >than I get the following error: >> >---------- >> >type Exception report >> > >> >message >> > >> >description The server encountered an internal error () that prevented >> >it from fulfilling this request. >> > >> >exception >> > >> >org.apache.jasper.JasperException: null(-1,-1) This absolute uri >> >(http://java.sun.com/jstl/core) cannot be resolved in either web.xml or >> >the jar files deployed with this application >> > at >> >>org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:94) >> > >> > at >> >org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:417) >> > >> > at >> >org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:154) >> > >> > at >> >org.apache.jasper.compiler.TagLibraryInfoImpl.(TagLibraryInfoImpl.java:159) >> > >> > at >> >org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:354) >> >. >> >. >> >. >> >. >> >------------- >> >After it I tried to use the application under standard-examples.war, but >> >if the code >> >contains <%@ taglib....> I get same error page. >> >First I thought the problem is, that I am offline, but I get same >> >message when I'm online too. >> >What can be the problem? >> > >> > Thank you in advanced: >> > >> > Lajos Kerekes >> > >> > >> > >> >-- >> >To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> >> >For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> >> > >> > >> > >> > >> >> -- >> To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> >> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > >-- >To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
