wood burning stoves
The moose likes JSP and the fly likes JSTL null date problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "JSTL null date problem" Watch "JSTL null date problem" New topic

JSTL null date problem

Raj Puri
Ranch Hand

Joined: Apr 24, 2003
Posts: 189
Here is the JSTL code:
<sql:update >
insert into cust (cust_date)
<sql ateParam value="${xdate}" type="date" />
</sql:update >

Problem is when date is null it does not work. I have tried using fmt tag that also does not help. Seems i can not pass null dates using above tag. Any hints how to do this without using scriplets?

<fmt arseDate value="${x_date} var="parseddate"
pattern="MM/dd/yyyy" />
I agree. Here's the link: http://aspose.com/file-tools
subject: JSTL null date problem
jQuery in Action, 3rd edition