tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hassan Schroeder <has...@webtuitive.com>
Subject Re: random numbers and JSTL
Date Mon, 24 Oct 2005 16:21:38 GMT
Luca Passani wrote:
> is there a JSTL trick to generate a random number?

Not random, but for the cache-busting behavior you want, how about:

<jsp:useBean id="now" class="java.util.Date" scope="request"/>
<a href="http://url.do?d=${now.time}">whatever</a>

HTH!
-- 
Hassan Schroeder ----------------------------- hassan@webtuitive.com
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com

                          dream.  code.



---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-user-help@jakarta.apache.org


Mime
View raw message