hello,

i'm new to the taglib stuff. i want to use the jstl but need some special
tags as well.

so i tried to set up a simple tag sample but without success.

here is what is have done so far:

i'm using tomcat 403
i create a context 'dcfa' to link to my development build directory:

<Context path="/dcfa" docBase="d:/dcfa/build/WEB-INF" debug="1"
reloadable="true" crossContext="false">
<Logger className="org.apache.catalina.logger.FileLogger"
prefix="localhost_dcfa_log." suffix=".txt" timestamp="true"/>
<Logger className="org.apache.catalina.logger.SystemErrLogger"/>
<Logger className="org.apache.catalina.logger.SystemOutLogger"/>
</Context>

inside my build/WEB-INF directory i have the following entries:

./TagTester.jsp
./tlds/dcfaTagLib.tld
./classes/com/tsystems/taglib/CurrentDateTag.class
./web.xml

when i try to execute TagTester.jsp i receive an exception telling me that
he can not find /dcfaTagLib

what is incorrect with my setup?

i have attached to corresponding files and hope you have the time to take a
look and get me starting:-)

thanks in advance, leif
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
          "http://java.sun.com/j2ee/dtds/web-app_2.2.dtd";>
<web-app>
    <taglib>
        <taglib-uri>dcfaTagLib</taglib-uri>
        <taglib-location>/WEB-INF/tlds/dcfaTagLib.tld</taglib-location>
    </taglib>
</web-app> 

Attachment: TagTester.jsp
Description: Binary data

Attachment: dcfaTagLib.tld
Description: Binary data

Attachment: CurrentDateTag.class
Description: Binary data

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to