Here you go? <% org.apache.struts.util.MessageResources mr = org.apache.struts.validator.Resources.getMessageResources(request); if (loginForm.getUsername.equalsIgnoreCase( mr.getMessage("key.value") ) { .... } %>
*********** REPLY SEPARATOR *********** On 19-12-2003 at 13:34 Manuel Lenz wrote: >Hi to all, >it is simple to get Data from the strutsRessourceBundle with the jspTag. >But I need to get ResourceData inside a java-Part of the jsp-page and >inside an ActionClass. > >For example > ><% > if (loginForm.getUsername.equalsIgnoreCase( ----ResourceData ----) > { > .... > }%> > >Does anybody know how to get the Data? > >Cheers, >Manuel > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]