Adam Sherman wrote:
I think I must have missed something.

If a servlet, in my case a Struts Action, contains:

request.setAttribute( "ca.tritus.tmailer.CONFIRM_ACTION", confirmBean );

And the Action forwards to a JSP page that contains:

<html:form action="${ca.tritus.tmailer.CONFIRM_ACTION.action}">

The tag should see the value of confirmBean.getAction(), correct?

No, you need to use a different syntax when the variable name contains dots, since they are used as separators in the EL language:

${requestScope['ca.tritus.tmailer.CONFIRM_ACTION.action']}

Hans
--
Hans Bergsten                                <[EMAIL PROTECTED]>
Gefion Software                       <http://www.gefionsoftware.com/>
Author of O'Reilly's "JavaServer Pages", covering JSP 1.2 and JSTL 1.0
Details at                                    <http://TheJSPBook.com/>


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to