Hi,

i created a custom tag library adhering to the JAR file structure as:

hlctags.jar
     --------- directories (tag handler packages)
     --------- META-INF
                  ------- MANIFEST.MF
                  ------- taglib.tld

and i want to make my custom tag library available to all applications. So,
i copied the hlctags.jar to {jrun.rootdir}/servers/lib/ and i incorporated
following lines in my global.properties file (following jruntags
convention):

# Make hlc taglib available for all apps
web-app.taglib-uri.hlctags=/WEB-INF/jrun/hlctags.jar
webapp.path-mapping./WEB-INF/jrun/hlctags.jar
={jrun.rootdir}/servers/lib/hlctags.jar

restarted my server and invoked the JSP page that include the following
line:
<%@ taglib uri="hlctags" prefix="hlc" %>

and i get the following JSP parse exception:
am i missing something?? or is this not the proper way to incorporate a
custom tag library??


--------------------------------------------------------------------------------
javax.servlet.ServletException: Parse Error in JSP page: The taglib
directive on line 8 is not valid.  The tag library descriptor 'hlctags'
could not be found.
allaire.jrun.jsp.ParseException: The taglib directive on line 8 is not
valid.  The tag library descriptor 'hlctags' could not be found.
           at
allaire.jrun.jsp.JSPParser.throwDirectiveException(JSPParser.java:408)
           at allaire.jrun.jsp.JSPParser.directive(JSPParser.java:769)
           at allaire.jrun.jsp.JSPParser.parse(JSPParser.java:599)
           at allaire.jrun.jsp.JSPParser.writeXML(JSPParser.java:152)
           at allaire.jrun.jsp.JSPParser.generateXML(JSPParser.java:124)
           at allaire.jrun.jsp.JSPParser.generateXML(JSPParser.java:68)
           at allaire.jrun.jsp.JSPServlet.parsePage(JSPServlet.java:403)
           at
allaire.jrun.jsp.JSPServlet.createServlet(JSPServlet.java:375)
           at allaire.jrun.jsp.JSPServlet.loadPage(JSPServlet.java:201)
           at allaire.jrun.jsp.JSPServlet.service(JSPServlet.java:168)
           at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1013)
           at allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java:925)
           at
allaire.jrun.servlet.JRunRequestDispatcher.forward(JRunRequestDispatcher.java:88)

           at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1131)
           at allaire.jrun.servlet.JvmContext.dispatch(JvmContext.java:330)
           at allaire.jrun.jrpp.ProxyEndpoint.run(ProxyEndpoint.java:354)
           at allaire.jrun.ThreadPool.run(ThreadPool.java:267)
           at allaire.jrun.WorkerThread.run(WorkerThread.java:74)
-----------------------------------------------------------------

thanks,
Urmila



------------------------------------------------------------------------------
Archives: http://www.egroups.com/group/jrun-interest/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the 
body.

Reply via email to