doesn't look like you can really use parseDate in millis formate.  But you
can do this.

<jsp:useBean id='cellDate' class='java.util.Date'/>
<c:set target='${cellDate}' property='time' value='${cell.value}'/>
<fmt:formatDate value='${cellDate}' type='both'/>

nick
On Mon, 16 Jun 2003, James Norman wrote:

> I am trying to parse a String object into a date using the parseDate tag.  My code 
> is as follows:
>
> <fmt:parseDate var="cellDate" value="${cell.value}" />
> <td><fmt:formatDate value="${cellDate}" /></td>
>
> And I get this exception:
>  [ServletException in:/WEB-INF/jsp/displayers/requestsDisplayer.jsp] In <parseDate>, 
> value attribute can not be parsed: "1055792945855"'
>
> Where cell.value returns a String of "1055792945855".  Can this not be parsed into a 
> date object?  Any help would be appreciated.
>
> Thanks,
> james
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to