tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nathan Ewing <natew...@yahoo.com>
Subject RE: Wierd Tomcat Problem
Date Tue, 01 Jul 2003 20:26:22 GMT
Doesn't seem to make any difference whether I define it in the web.xml.

   Nathan


--- "Shapira, Yoav" <Yoav.Shapira@mpi.com> 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:natewing@yahoo.com]
> >Sent: Tuesday, July 01, 2003 3:44 PM
> >To: tomcat-user@jakarta.apache.org
> >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: tomcat-user-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 
> 
> 
> 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: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message