struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Graham" <>
Subject Re: How fast is <bean:message>?
Date Mon, 03 Mar 2003 21:11:17 GMT
It's as fast as it takes to lookup a key in a hashmap.  If that's 
unacceptable then you should write a different jsp for each language with 
hardcoded text.


>From: Boris Folgmann <>
>Reply-To: "Struts Users Mailing List" <>
>To: Struts Users Mailing List <>
>Subject: How fast is <bean:message>?
>Date: Mon, 03 Mar 2003 21:59:13 +0100
>Hi Struts-Users!
>I need to internationalize a high-volume web application.
>How fast or slow is it to replace the text messages in all JSPs with
><bean:message>? I assume that if every page has appx. 10 <bean:message>
>tags this could slow down the entire webapp. How fast are those resource
>file lookups? The keys normally used are strings, so I think at least a
>hashing and map lookup has to be done by the JDK.
>Are there alternatives? As there are not so much strings in Servlets and
>JavaBeans what about using some kind of preprocessor for the JSPs and
>simplay generate multiple versions of the same JSP?
>	boris
>Dipl.-Inf. Boris Folgmann
>Folgmann IT-Consulting
>To unsubscribe, e-mail:
>For additional commands, e-mail:

Add photos to your messages with MSN 8. Get 2 months FREE*.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message