You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-dev@jakarta.apache.org by Igor Kozlov <ko...@softline.kiev.ua> on 2003/02/04 15:30:20 UTC
Attribute in Cache Taglib
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: taglibs-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-dev-help@jakarta.apache.org
Re[2]: Attribute in Cache Taglib
Posted by Igor Kozlov <ko...@softline.kiev.ua>.
SB> Indeed, but this is why it supports the expression language.
SB> Under JSP 2.0, we'd indeed want 'rtexprvalue' to be true.
Thanks, I understand.
---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-dev-help@jakarta.apache.org
Re: Attribute in Cache Taglib
Posted by Shawn Bayern <ba...@essentially.net>.
On Tue, 4 Feb 2003, Igor Kozlov wrote:
> 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.
Indeed, but this is why it supports the expression language.
Under JSP 2.0, we'd indeed want 'rtexprvalue' to be true.
--
Shawn Bayern
"JSTL in Action" http://www.manning.com/bayern
---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-dev-help@jakarta.apache.org