Hi,
I just tried the following code and
tomcat did not understand the EL part.
Could anybody tell me what I did wrong and missed out? I have tomcat 5 and
Java 1.4 installed.
Jsp code
==========================================
<%@ page contentType="text/html" %>
<%@ taglib prefix="c" uri="http://jakarta.apache.org/taglibs/core" %>
<jsp:useBean id="now" class="java.util.Date" />
<html>
<head>
<title>
Test Me</title>
</head>
<body>
<c
ut value="${pageContext.request.method}" /> <br>
<% out.println ("Request user Name [" + request.getParameter("userName") +"]"); %> <br>
<c
ut value="${now}" /> <br>
1+2+3 = ${1+2+3} <br>
<%out.println(now);%>
</body>
</html>
Result Page:
=====================================
${pageContext.request.method}
Request user Name [null]
${now}
1+2+3 = ${1+2+3}
Fri Oct 01 13:55:42 EDT 2004