posted 14 years ago
Hi
I am migration from websphere to resin and in this process i came across a exception caused by formatDate jstl tag while running in resin. It was working fine when its running in websphere. These are the tags used by me. I am resin 3.1.6 .
<fmt:formatDate value="${ixxxxxx}" type="date" pattern="MM/dd/yyyy" var="issueDate" />
<fmt:formatDate value="${ixxxxxx}" type="date" pattern="EEEE" var="issueDay" />
the exception its giving is
713212 [2010-03-10 10:55:20,762] [http--8080-10] ERROR org.apache.tiles.impl.BasicTilesContainer - Error rendering tile
java.lang.NullPointerException
at com.caucho.server.connection.RequestWrapper.isSecure(RequestWrapper.java:296)
at com.caucho.server.connection.RequestAdapter.getCookieName(RequestAdapter.java:463)
at com.caucho.server.connection.RequestAdapter.getSession(RequestAdapter.java:387)
at com.caucho.server.webapp.DispatchRequest.getSession(DispatchRequest.java:448)
at org.springframework.web.servlet.support.JstlUtils$SpringLocalizationContext.getLocale(JstlUtils.java:120)
at org.apache.taglibs.standard.tag.common.fmt.SetLocaleSupport.getFormattingLocale(SetLocaleSupport.java:256)
at org.apache.taglibs.standard.tag.common.fmt.FormatDateSupport.doEndTag(FormatDateSupport.java:116)
Can some suggest me what is going wrong here.
Thanks