1 Reply Latest reply: Feb 28, 2006 8:59 AM by 807581 RSS

    struts with iplanet

    807581
      Iam working with struts in iplanet 6.0 and SP2 and facing the following problem.

      Iam getting a error when i ran this JSP

      <%@ page language="java" %>
      <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
      <html>
      <head>
      <title> Sample </title>
      </head>

      <body>

      </body>
      </html>


      The error discription is this...
      JSP: JSP1x compiler threw exception
      org.apache.jasper.compiler.CompileException: C:/test/sample/index.jsp(1,0) Unable to open taglibrary /WEB-INF/struts-html.tld : Could not locate TLD C:/test/sample/WEB-INF/struts-html.tld
           at org.apache.jasper.compiler.JspParseEventListener.handleDirective(JspParseEventListener.java:707)
           at org.apache.jasper.compiler.DelegatingListener.handleDirective(DelegatingListener.java:110)
           at org.apache.jasper.compiler.Parser$Directive.accept(Parser.java:215)
           at org.apache.jasper.compiler.Parser.parse(Parser.java:1077)
           at org.apache.jasper.compiler.Parser.parse(Parser.java:1042)
           at org.apache.jasper.compiler.Parser.parse(Parser.java:1038)
           at org.apache.jasper.compiler.Compiler.compile(Compiler.java:218)
           at com.iplanet.server.http.servlet.NSServletEntity.load(NSServletEntity.java:252)
           at com.iplanet.server.http.servlet.NSServletEntity.update(NSServletEntity.java:173)
           at com.iplanet.server.http.servlet.NSServletRunner.Service(NSServletRunner.java:416)


      [04/Mar/2005:18:48:56] warning ( 3232): Internal error: Failed to get GenericServlet. (uri=/index.jsp,SCRIPT_NAME=/index.jsp


      Plz advice,

      Thanks in advance,
      Regards,
      Arun