Should I be able to retrieve a string that has been set by
request.setAttribute from within a <bean:message/>?

For example, in an Action I have:

  request.setAttribute("registeredemail",email);
  return mapping.findForward("waitforconfirm");

in the jsp that the waitforconfirm points to, this works fine:

  Your email was: <%= request.getAttribute("registeredemail") %>

However, the following tells me that "registeredemail" doesn't work:

  <bean:message key="your.email.was" arg0="<%= request.getAttribute("registeredemail") 
%>" />

Is this the correct way to do this, or do I need to write this 
another way?

Thanks,

-Mike


-- 
Mike Bridge 
<[EMAIL PROTECTED]>

Reply via email to