I am trying to get JSP 1.1 custom tags working in iPlanet Web Server 4.1.  I followed 
the instructions provided by Suresh earlier on this matter (included below).  However, 
still can not get iWS working correctly.  Here is the message from the error log:

[15/Jun/2000:10:06:34] info ( 6219): Internal Info: loading servlet 
/company/CompanyDetailScreen.jsp
[15/Jun/2000:10:06:45] warning ( 6219): JSP1x Jasper Log: Could not load TagExtraInfo 
class common.web.tags.ForEachTagExtraInfo:
 Unable to load class common.web.tags.ForEachTagExtraInfo
[15/Jun/2000:10:06:45] warning ( 6219): JSP1x Jasper Log: Could not load TagExtraInfo 
class common.web.tags.SetVariableTagExtraI
nfo: Unable to load class common.web.tags.SetVariableTagExtraInfo
[15/Jun/2000:10:06:45] warning ( 6219): JSP1x Jasper Log: Could not load TagExtraInfo 
class common.web.tags.LoopTagExtraInfo: Un
able to load class common.web.tags.LoopTagExtraInfo
[15/Jun/2000:10:06:45] info ( 6219): JSP: JSP1x compiler threw exception
org.apache.jasper.JasperException: Unable to load class common.web.tags.PageDataTag
        at org.apache.jasper.compiler.TagBeginGenerator.init(TagBeginGenerator.java, 
Compiled Code)
        at 
org.apache.jasper.compiler.JspParseEventListener$GeneratorWrapper.init(JspParseEventListener.java,
 Compiled Code)
        at 
org.apache.jasper.compiler.JspParseEventListener.addGenerator(JspParseEventListener.java,
 Compiled Code)
        at 
org.apache.jasper.compiler.JspParseEventListener.handleTagBegin(JspParseEventListener.java,
 Compiled Code)
        at 
org.apache.jasper.compiler.DelegatingListener.handleTagBegin(DelegatingListener.java, 
Compiled Code)
        at org.apache.jasper.compiler.Parser$Tag.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, Compiled Code)
        at org.apache.jasper.compiler.Parser.parse(Parser.java, Compiled Code)
        at org.apache.jasper.compiler.Compiler.compile(Compiler.java, Compiled Code)
        at com.netscape.server.http.servlet.NSServletEntity.load(NSServletEntity.java, 
Compiled Code)
        at 
com.netscape.server.http.servlet.NSServletEntity.<init>(NSServletEntity.java, Compiled 
Code)
        at 
com.netscape.server.http.servlet.NSServletRunner.loadServlet(NSServletRunner.java, 
Compiled Code)
        at 
com.netscape.server.http.servlet.NSServletRunner.Service(NSServletRunner.java, 
Compiled Code)

Thanks for any help..

—---------------Original Message-------------------
Here are the guidelines which would help you with running JSPs on
      iWS.

      iWS4.1 uses Tomcat's JSP compiler (called Jasper) to compile JSP
      pages into servlets. The servlet is then loaded and run by a servlet
      engine in iWS. Servlet engine and JSP compiler are still not very
      closely integrated and this necessitates some manual changes to
      classpath settings in iWS4.1.

      To get your JSP with tags working place your taglib.tld under
      META-INF directory and make a jar file containing both the classes
      for your tags and this taglib.tld file. Now in the JSP page use
      relative url to this jar file as shown below.

              <%@ taglib uri="/test/newtags.jar" prefix="mt" %>

      i.e. http://<server>:<port>/test/mytags.jar is the location of the
      jar file.

      Add this jar file to jvm.classpath (as defined in file jvm12.conf)
      so that servlet engine can find the necessary classes to execute the
      servlet generated from this JSP page.

      Hope this helps.

Brad Sneade
Comsearch
703.476.2684 [Phone]
GUI Developer

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to