tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luca Passani <pass...@eunet.no>
Subject Re: random numbers and JSTL
Date Mon, 24 Oct 2005 17:13:18 GMT

Thanks! I had to turn it inot this for Tomcat4:

 cache_buster=<c:out value="${now.time}"/>

but it did the job

Luca

Hassan Schroeder wrote:

>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!
>  
>


---------------------------------------------------------------------
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