Hi, I'm using
struts 1.2.9..
Basically i have a 2 message resources bundles - once called "client" and the other called "server". how do i in a
JSP check if a certain key exists in the client bundle and render it, but if it doesnt exist in the client bundle then render the value of the key in the server bundle. both bundles have a key name "customer.name" for example.
i know that to render the bundle i do:
<bean:message key="customer.name" bundle="client"/>
or
<bean:message key="customer.name" bundle="server"/>
how can i check the first one to see if the key exist in the client bundle (can i use something like <logic
resent>
I could code some
java in the action class that forwards to this jsp but that seems a bit hacky. any help would be great..