You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by 3z...@uk2.net on 2001/05/03 10:45:20 UTC
Internationalised strings and scriptlets
Is it possible to access internationalised messages from inside scriptlets?
For example consider a dropdown list populated with text strings produced by a
<bean:message ... /> tag. I then want to do some processing based on a user
selection:
<%
String selectedItem = request.getParameter( "dropDown" );
String internationalisedString = ???????
if ( selectedItem.equals( internationalisedString ) )
{
// do something
}
%>
How do I get a value for <code>internationalisedString</code>?
Thanks,
Sam
----------------------------------------------------------
This message was sent using http://uk2.net
NEWS - CHEAPEST DEDICATED SERVERS IN THE WORLD - 25/month
FREE UK DIAL 0845 609 1370 - username uk2: - password: uk2
UK's FREE Domains, FREE Dialup, FREE Webdesign, FREE email