This also works using Java description as following.

<c:set var="date" value="2019/8/20" scope="session"/>
<% SimpleDateFormat sdFormat = new SimpleDateFormat("yyyy/MM/dd");
   Date date = sdFormat.parse(session.getAttribute("date").toString());
   session.setAttribute("date_o", date); %>
<sql:setDataSource dataSource="jdbc/kome" var="kome"/>
<sql:update var="stmt" dataSource="${kome}">
 insert into test values(?,?)
 <sql:dateParam value="${date_o}" type="date"/>
 <sql:param value="Good"/>

 We need such complicated way to Web-DB access?
We need simple way using EL description.

 Regards,                            Kazuaki Miyauchi, Japan

To unsubscribe, e-mail:
For additional commands, e-mail:

Reply via email to