tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Serge Knystautas <ser...@lokitech.com>
Subject Re: Fw: [OT]Re: <sql:param> null weirdness BACK ON TOPIC
Date Wed, 20 Aug 2003 02:04:15 GMT
Jason Lea wrote:
> So looking at this:
> 
>   <sql:param><c:out value="${param.time}" /></sql:param>

Unless you're using c:out to escapeXml your request parameter, or as you 
say, prevent nulls from entering the database, I'm not sure why you 
would do this.  Just do

<sql:param value="${param.time}" />

Then if param.time is null, it stores null in the database.

-- 
Serge Knystautas
President
Lokitech >> software . strategy . design >> http://www.lokitech.com/
p. 1.301.656.5501
e. sergek@lokitech.com


Mime
View raw message