You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Kirby Vandivort <kv...@ks.uiuc.edu> on 2003/01/02 19:30:55 UTC
problems getting new taglib instructions working with tomcat 4.1.x
Hello,
Referring to:
http://jakarta.apache.org/struts/userGuide/configuration.html#dd_config_taglib_23
I am running struts 1.1 beta 3, tomcat 4.1.18, and
I have a simple JSP page that starts out like:
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html-1.0" prefix="html" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean-1.0" prefix="bean" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-logic-1.0" prefix="logic"
%>
When I try access the page, I get the following exception:
2003-01-02 12:18:03 StandardWrapperValve[jsp]: Servlet.service() for
servlet jsp threw exception org.apache.jasper.JasperException: This
absolute uri (http://jakarta.apache.org/struts/tags-html-1.0) cannot be
resolved in either web.xml or the jar files deployed with this
application
I suspect that I'm just doing something stupid, but I'm not sure what
it is. If you try to go to that URL you get a 404. Not really
understanding what is going on, I'm not sure if that is expected or
not.
Thanks!
---
(also a note for whoever maintains that documentation.. In the very
next section (5.5) it says to look in section 4.5.3.1 for info on doing
the TLDs in a servlet 2.3 container. It should be section 5.4.3.1
(the four and the five are reversed.)
--
Kirby Vandivort Theoretical Biophysics Group
Email: kvandivo@ks.uiuc.edu 3051 Beckman Institute
http://www.ks.uiuc.edu/~kvandivo/ University of Illinois
Phone: (217) 244-5711 405 N. Mathews Ave
Fax : (217) 244-6078 Urbana, IL 61801, USA
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: problems getting new taglib instructions working with tomcat 4.1.x
Posted by Kirby Vandivort <kv...@ks.uiuc.edu>.
I'll answer my own question (from finding the right subject line
in some of the list archives)
Apparently from beta 3 on, the -version.number is no longer in the URI.
So, I changed it to:
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-logic" prefix="logic"
and it now works.
> ---
>
> (also a note for whoever maintains that documentation.. In the very
> next section (5.5) it says to look in section 4.5.3.1 for info on doing
> the TLDs in a servlet 2.3 container. It should be section 5.4.3.1
> (the four and the five are reversed.)
>
>
On Thu, Jan 02, 2003 at 12:30:55PM -0600, Kirby Vandivort wrote:
> Hello,
>
> Referring to:
>
> http://jakarta.apache.org/struts/userGuide/configuration.html#dd_config_taglib_23
>
> I am running struts 1.1 beta 3, tomcat 4.1.18, and
> I have a simple JSP page that starts out like:
>
> <%@ page contentType="text/html;charset=UTF-8" language="java" %>
> <%@ taglib uri="http://jakarta.apache.org/struts/tags-html-1.0" prefix="html" %>
> <%@ taglib uri="http://jakarta.apache.org/struts/tags-bean-1.0" prefix="bean" %>
> <%@ taglib uri="http://jakarta.apache.org/struts/tags-logic-1.0" prefix="logic"
> %>
>
>
> When I try access the page, I get the following exception:
>
> 2003-01-02 12:18:03 StandardWrapperValve[jsp]: Servlet.service() for
> servlet jsp threw exception org.apache.jasper.JasperException: This
> absolute uri (http://jakarta.apache.org/struts/tags-html-1.0) cannot be
> resolved in either web.xml or the jar files deployed with this
> application
>
>
> I suspect that I'm just doing something stupid, but I'm not sure what
> it is. If you try to go to that URL you get a 404. Not really
> understanding what is going on, I'm not sure if that is expected or
> not.
>
> Thanks!
--
Kirby Vandivort Theoretical Biophysics Group
Email: kvandivo@ks.uiuc.edu 3051 Beckman Institute
http://www.ks.uiuc.edu/~kvandivo/ University of Illinois
Phone: (217) 244-5711 405 N. Mathews Ave
Fax : (217) 244-6078 Urbana, IL 61801, USA
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>