Link to home
Start Free TrialLog in
Avatar of softechnics
softechnics

asked on

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?
ASKER CERTIFIED SOLUTION
Avatar of ioanton
ioanton

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of softechnics
softechnics

ASKER

I KNEW it was going to be something STUPID! (I HATE Mondays!)

Thanks!