shaf maff wrote:According to TLD or attribute directive in tag file, attribute value does not accept any expressions
This is usually a sign that you have the JSTL mis-configured. Be sure that you are using the right version of the JSTL for your level of
JSP and that you have your deployment descriptor correctly declared. It's all in the JSP FAQ.
// In Servlet
String dateSent = 2009-03-01 05:16:20.0;
Please
read this with regards to wasting people's time with red herrings. This can't possibly be your
Servlet code as it won't even compile.
<fmt:formatDate pattern="yyyy-MM-dd hh:mm:ss" value="${dateSent}" />[/code]
Does the JSTL specification state that a string is an acceptable form of input here?