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
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