From: "Archana Soni" <[EMAIL PROTECTED]>

<%@ taglib uri="/tags/struts-html" prefix="html" %>

The application is working fine with just omitting the first line of the jsp
( <%@ taglib ...). But as soon as I add it, it gives the
NullPointerexception

Is this a Servlet 2.3 or better container? If so the first thing I'd do is look in struts.jar for the struts-html.tld file, and find the <uri> for that tag library descriptor. Use that instead of mapping the tld in web.xml.

Murray suggested:
<[EMAIL PROTECTED] uri="http://struts.apache.org/tags-html"; prefix="html" %>

For Struts 1.1, it might have 'jakarta.apache.org/struts' instead. That was a long time ago. :)

You also wrote:
I am using struts1.1 and the taglib's URI is mapped to
"/web-inf/struts-html.tld" in web.xml

Unless that's just a typo, WEB-INF should be capitalized.

--
Wendy Smoak


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to