formatDate taglib error

I'm getting an error:

"According to TLD, tag fmt:formatDate must be empty, but is not"

on this code:

<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
...
<c-rt:set var="now" value="<%=new java.util.Date()%>" />
...
<fmt:formatDate value="${now}" type="date" dateStyle="long" timeStyle="long" scope="page" var="thisDate" >

Any ideas why?
softechnicsAsked:
Who is Participating?
 
ioantonCommented:
Try this:

<fmt:formatDate value="${now}" type="date" dateStyle="long" timeStyle="long" scope="page" var="thisDate" />
0
 
softechnicsAuthor Commented:
I KNEW it was going to be something STUPID! (I HATE Mondays!)

Thanks!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.