You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Heligon Sandra <Sa...@nextream.fr> on 2002/06/10 19:04:52 UTC

strtus-tag lib error with tomcat4.0.b5

	I have an error when I compile a JSP file with
	Tomcat4.0. I use struts1.0 and JBuilder5.
	
	<%@ page language="java" %>
	<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
	<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
	<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
	<%@ taglib uri="/WEB-INF/struts-form.tld" prefix="form" %>
	<html:html locale="true">
	<head>
	<title><bean.message key="index.title"/></title>
	<html:base/>
	</head>
	<body bgcolor="white">
	<form:link page="/transportstream.jsp">View a transport stream
content</form:link>
	</body>
	</html:html>
	
	The erro is:
	"Index.jsp: java.lang.NullPointerException
java.lang.NullPointerException".
	This error occure with the compiler and not when I run the
application. 
	 
	When I compile the same file with Tomcat3.2 It is OK.
	I doesn't understand.

	If I delete the <%@ taglib uri %> tags no error is displayed at the
compilation,
	but the link doesn't exist.

	I doesn't understand the JSP struts taglibs specifications are the
same between Tomcat3.2
	and Tomcat3.1 no ? 

	Thanks a lot in advance.
	Sandra

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: strtus-tag lib error with tomcat4.0.b5

Posted by Rob <Ro...@freetocreate.org>.
I answered this on struts-user list, where this belongs.


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: strtus-tag lib error with tomcat4.0.b5

Posted by Rob <Ro...@freetocreate.org>.
It compiled for me under Tomcat 4.04 Beta 2
I did remove the

<%@ taglib uri="/WEB-INF/struts-form.tld" prefix="form" %>

Since I am using struts 1.1 and struts-form (pre version 1.0) was 
replaced by
struts-html since March 2001.

If possible upgrade to a newer version of Tomcat.

-Rob


Heligon Sandra wrote:

>	I have an error when I compile a JSP file with
>	Tomcat4.0. I use struts1.0 and JBuilder5.
>	
>	<%@ page language="java" %>
>	<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
>	<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
>	<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
>	<%@ taglib uri="/WEB-INF/struts-form.tld" prefix="form" %>
>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>