BSF tag library fails - need help

P

Phil Powell

I need to get a better idea of how to do this, but my script at
http://www.mycgiserver.com/~ppowell/tcltest.jsp fails:

500 Servlet Exception
/~ppowell/tcltest.jsp:1: `http://jakarta.apache.org/taglibs/bsf-1.0' has
no matching taglib-uri. The taglib uri must match a taglib-uri for a taglib
specified in the web.xml or implicitly in a taglib.tld in the tag jar.


----------------------------------------------------------------------------
----
Resin 2.1.0 (built Tue Mar 26 14:12:50 PST 2002)

The script is as follows:

<%@ taglib uri="http://jakarta.apache.org/taglibs/bsf-1.0" prefix="bsf" %>
<html>
<head>
<title>Tcl Test</title>
</head>
<body>

<bsf:scriptlet language="tcl">
set blah {Hello World}
set foo {}
</bsf>

<bsf:expression language="tcl">
puts "[set blah] today is [clock format [clock scan now] -format "%A
%b/%d/%Y"]"
</bsf>

</body>
</html>

This is based upon information I got from the Jakarta website. Can someone
help, what did I do wrong?

Phil
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,825
Latest member
VernonQuy6

Latest Threads

Top