S
Steve Burrus
I have a certain jsp file called "FirstJsp.jsp", and I seem to get these
compiler error messages indicating that the value in the "cut" doesn't
take an argument!!! Now, I really don't know what could be wrong! Here
is my code for it, and I am of course using version 1.1 of the JSTL.
<%-- use the 'taglib' directive to make the JSTL 1.0 core tags available
--%>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
<%-- use the 'jsp:useBean' standard action to make the Date object
available in page scope --%>
<jsp:useBean id="date" class="java.util.Date" />
<html>
<head><title>First JSP</title></head>
<body>
<h2>Here is today's date</h2>
<cut value="Date: ${date}" />
</body>
</html>
And even though this is supposed to be for the 1.0 version of the
JSTL, I have added the "/jsp" after the "/jstl" in that uri, but it
still fails on me.
compiler error messages indicating that the value in the "cut" doesn't
take an argument!!! Now, I really don't know what could be wrong! Here
is my code for it, and I am of course using version 1.1 of the JSTL.
<%-- use the 'taglib' directive to make the JSTL 1.0 core tags available
--%>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
<%-- use the 'jsp:useBean' standard action to make the Date object
available in page scope --%>
<jsp:useBean id="date" class="java.util.Date" />
<html>
<head><title>First JSP</title></head>
<body>
<h2>Here is today's date</h2>
<cut value="Date: ${date}" />
</body>
</html>
And even though this is supposed to be for the 1.0 version of the
JSTL, I have added the "/jsp" after the "/jstl" in that uri, but it
still fails on me.