Doesn't seem to make any difference whether I define it in the web.xml. Nathan
--- "Shapira, Yoav" <[EMAIL PROTECTED]> wrote: > > Howdy, > What happens if you define the JSTL core taglib in your web.xml so that > you can match the uri in your JSP with the one in web.xml (and the uri > in your JSP is therefore not absolute)? > > Yoav Shapira > Millennium ChemInformatics > > > >-----Original Message----- > >From: Nathan Ewing [mailto:[EMAIL PROTECTED] > >Sent: Tuesday, July 01, 2003 3:44 PM > >To: [EMAIL PROTECTED] > >Subject: Wierd Tomcat Problem > > > >Hi, I'm trying to fix this wierd problem with tomcat and the jstl. > > > >Here is what I'm doing: > > > >I created a servlet that forwards to a jsp. Inside the jsp I put the > line > ><%@ > >taglib prefix="c" uri="http://java.sun.com/jstl/core" %> (actually its > in > >an > ><%@ include %> file inside the jsp). When I try to run the servlet I > get > >the > >following error: > > > >org.apache.jasper.JasperException: /userForm.jsp(0,0) 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(DefaultErrorHan > dler > >.java:94) > > at > >org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.jav > a:42 > >8) > > at > >org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.jav > a:12 > >6) > > at > >org.apache.jasper.compiler.Parser.processIncludeDirective(Parser.java:3 > 07) > > at > >org.apache.jasper.compiler.Parser.parseIncludeDirective(Parser.java:340 > ) > > at > org.apache.jasper.compiler.Parser.parseDirective(Parser.java:378) > > > > > >It actually keeps going with a bunch more compiler items but I thought > that > >was > >enough. > > > >Now if I remove all other servlets in my web.xml except this one, and > then > >rerun my servlet, everything works perfectly without the bug. > > > >This means that every single time I make a change to a jsp, I have to > go > >into > >my web.xml, remove all other servlets, and then run my jsp. > > > >What am I doing? or is this a bug in Tomcat. > > > > Thanks, > > Nathan Ewing > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail: [EMAIL PROTECTED] > >For additional commands, e-mail: [EMAIL PROTECTED] > > > > > This e-mail, including any attachments, is a confidential business > communication, and may contain information that is confidential, proprietary > and/or privileged. This e-mail is intended only for the individual(s) to > whom it is addressed, and may not be saved, copied, printed, disclosed or > used by anyone else. If you are not the(an) intended recipient, please > immediately delete this e-mail from your computer system and notify the > sender. Thank you. > > > --------------------------------------------------------------------- > 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]
