struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Graham" <dgraham1...@hotmail.com>
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.

David



>From: Boris Folgmann <misc@folgmann.com>
>Reply-To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
>To: Struts Users Mailing List <struts-user@jakarta.apache.org>
>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?
>
>cu,
>	boris
>
>--
>Dipl.-Inf. Boris Folgmann   mailto:boris@folgmann.de
>Folgmann IT-Consulting      http://www.folgmann.de
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: struts-user-help@jakarta.apache.org


_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail


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


Mime
View raw message