[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - fmt:formatDate Unparseable date urgent!

gianfeng do-not-reply at jboss.com
Mon Dec 10 21:16:17 EST 2007


When web server is resin, it's ok. And these days I deploy the web app to jboss-4.2.1.GA.

When i use jstl(1.1) like this:
<fmt:formatDate value="10/25/2007 " type="both"/> 
report follow error.

How to resolve this problem? thank you!

anonymous wrote : org.apache.jasper.JasperException: org.jboss.util.NestedRuntimeException: Unparseable date: "Thu Oct 25 14:00:00 CST 2007"; - nested throwable: (java.text.ParseException: Unparseable date: "Thu Oct 25 14:00:00 CST 2007")
  | 	org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:535)
  | 	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:429)
  | 	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
  | 	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
  | 	javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
  | 	org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1063)
  | 	org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:386)
  | 	org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:229)
  | 	org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
  | 	org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
  | 	javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
  | 	javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
  | 	org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | 
  | 
  | root cause 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111812#4111812

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111812



More information about the jboss-user mailing list