Struts, ActionMessages and locale

L

luca

Hi, here is my problem.

I got this:

<logic:messagesPresent message="true">
<html:messages id="error" message="true">
<c:eek:ut value="${error}"/>- <bean:write name="error"/>
</html:messages>
</logic:messagesPresent>

I got this:

ActionMessages messages = new ActionMessages();
ActionMessage message = new ActionMessage("Error: Empty URL",false);
messages.add( ActionMessages.GLOBAL_MESSAGE, message );
saveMessages( request, messages );

but I get this:

???en_GB.Error: Empty URL???- ???en_GB.Error: Empty URL???

do I need to specify the locale somewhere? I don't need anything else
but english.

what am I missing?

thanks

Luca
 
J

jan V

Hi, here is my problem.

Tip Of The Day: If you could bother to be a *little* bit more verbose in
your problem description, readers of your post may be more likely to offer
help.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,070
Latest member
BiogenixGummies

Latest Threads

Top