Henrick,
Areas to check:
1. Tag libraries are stored in the WEB-INF directory of the WAR
or in a subdirectory of WEB-INF. So where are yours?
2. What's the taglib directive used in your page? For example,
if it is declared in the JSP page as <%@ taglib
uri="/WEB-INF/struts-bean.tld" prefix="bean" %>, double check the tag
library is the WEB-INF direcory.
if your taglib directive is declared as such in your JSP page:
<%@ taglib uri="/taglibs/struts-bean" prefix="bean" %>
a logical name is used to indirectly reference the struts-bean
tag library. In this case, check that the logical name
"/taglibs/struts-bean" must be mapped to an absolute location in your
WEB.XML Check also that the phyical file location matches the absolute
location defined in the Tab Library field.
+trish
-----Original Message-----
From: Henrick Chua [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 21, 2001 4:30 AM
To: Struts Users Mailing List (E-mail)
Subject: unable to open taglibrary
Hi!
help! I am trying to run the struts web example shipped with struts 1.0
on
an iPLanet web server 4.1 environment.
I have already added the struts.jar into the iPlanet classpath. and also
placed the directory of the *.tlds into the classpath.. and of course I
also
placed the directory of the *.classes into the classpath of iPlanet.
now I
am encountering this error message...
org.apache.jasper.JasperException: Unable to open taglibrary
/WEB-INF/struts-bean.tld : null at
org.apache.jasper.compiler.JspParseEventListener.handleDirective(JspPars
eEve
ntListener.java, Compiled Code) at
org.apache.jasper.compiler.DelegatingListener.handleDirective(Delegating
List
ener.java:119) at
org.apache.jasper.compiler.Parser$Directive.accept(Parser.java, Compiled
Code) at org.apache.jasper.compiler.Parser.parse(Parser.java, Compiled
Code)
at org.apache.jasper.compiler.Parser.parse(Parser.java:1022) at
org.apache.jasper.compiler.Parser.parse(Parser.java:1018) at
org.apache.jasper.compiler.Compiler.compile(Compiler.java, Compiled
Code) at
com.netscape.server.http.servlet.NSServletEntity.load(NSServletEntity.ja
va:2
30) at
com.netscape.server.http.servlet.NSServletEntity.update(NSServletEntity.
java
:149) at
com.netscape.server.http.servlet.NSServletRunner.Service(NSServletRunner
.jav
a:463)
is there something wrong with my references?! or are there any necessary
steps that i need to make.
thanx in advance...
regards,
Henrik
--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>