Hi Suresh,
thanks for your help. I have built a jar with the following structure
META-INF/
META-INF/taglib.tld
sql/
sql/tags/
sql/tags/MyTag.class
...
and I have put <%@ taglib uri="/jsp/sql.jar" prefix="sql" %> in my jsp file.
Now jasper sees the taglib.tld, but it seems don't like it too much. It reports
java.lang.NullPointerException
at org.apache.jasper.compiler.JspUtil.parseXMLDoc(JspUtil.java, Compiled
Code)
It seems to have some syntax error in the taglib.tld, but the same taglib.tld
file and the same classes work fine with tomcat
Any idea ?
Thanks
Paolo Sommaruga
Garda Access
Garda (Vr), Italy
http://www.garda-access.com/
>>[...]
>>
>> It's possible to have some guideline to set iWS working with jsp
>> 1.1 and custom tag ?
>
>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.
>
>--
>-Suresh
> Developer
> iPlanet Enterprise Server
>
>===========================================================================
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
>FAQs on JSP can be found at:
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html