tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Igor Kozlov <koz...@softline.kiev.ua>
Subject Attribute in Cache Taglib
Date Tue, 04 Feb 2003 14:10:23 GMT
Hello!

I propose change <rtexprvalue> in attribute key in tags <cache> and
<invalidate> to support runtime expression.
Because one jsp file can have more then one global view, that may be
cached.

For example :

<cache:cache scope="session" name="announces" key="<%=session.getAttribute(WebKeys.CLIENT_LOCALE).toString()%>"
>
............
</cache:cache>

In this example one jsp can process request for several locales.


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


Mime
View raw message