problems using BSF - need help

P

Phil Powell

I am running a sample JSP script I created in my attempt to use BSF
that I thought I properly installed on my Win2000 maching running CF
MX 6.1 with JRun 4.0:

<%@ page import="org.apache.taglibs.bsf.*" %>
<%@ taglib uri="http://jakarta.apache.org/taglibs/bsf-2.0"
prefix="bsf" %>


<html>
<head>
<title>Tcl Test</title>
</head>
<body>

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

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


</body>
</html>



Here is the error it produces:

2 error(s) found in /temps.jsp
(19) The tag scriptlet's handler class bsf.scriptlet was not found in
the classpath
(31) The tag expression's handler class bsf.expression was not found
in the classpath

Here is the XML code snippet in my /WEB-INF/web.xml file:


<taglib>
<taglib-uri>http://jakarta.apache.org/taglibs/bsf-2.0</taglib-uri>
<taglib-location>/WEB-INF/bsf.tld</taglib-location>
</taglib>


I have no idea what I'm missing since I don't know where bsf.scriptlet
class nor bsf.expression class would be found, were I to do the
installation onto JRun myself.

Has anyone both successfully installed all of the files necessary for
BSF to run within JSP and wrote successful JSP scripts using it? If
so, I could use your help, I'm totally stumped!

Thanx
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