Hi all

 This is under JRun 3.0sp2 running in Linux.

I am developing a custom tag lib; my classes are all set and while developing, I am 
putting the
..class files into 
/home/jrun/servers/default/default-app/WEB-INF/classes.  I have a JSP that does a PAGE 
IMPORT of the
TagHandler classes
to verify that they are found in the classpath.

When I try to reference the tag lib in a jsp file, I get a 500 (Internal server error) 
and no msgs
in the default server logs. I have reduced this to just the taglib directive and it 
still blows up,
so I do not see how the problem could be in my handler class.

The jsp reference looks like this:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
<html>
<body>

<%@ taglib prefix="askit" uri="/WEB-INF/AskitTags.tld" %>

The date is: 

</body>
</html>
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

On to the .tld file, I have put the following "AskitTags.tld" file into
"/home/jrun/servers/default/default-app/WEB-INF"
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE taglib PUBLIC
"-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN"
"http://java.sun.com/j2ee/dtds/web-jsptaglib_1_1.dtd";>
<taglib>
    <tlibversion>1.0</tlibversion>
    <jspversion>1.1</jspversion>
    <shortname>askit</shortname>
    <info>
        Tags used in AskIt front-end templates.
    </info>
    
    <tag>
        <name>dateTime</name>
        <tagclass>com.askit.taglib.layout.DateTimeTag</tagclass>
        <bodycontent>empty</bodycontent>
        <info>
            Replace tag with current date and/or time
        </info>
        <attribute>
            <name>type</name>
            <required>false</required>
            <rtexprvalue>false</rtexprvalue>
        </attribute>
    </tag>
</taglib>
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to