struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dakota Jack <>
Subject Re: Accessing my form from an included page
Date Thu, 23 Dec 2004 14:29:28 GMT
On Thu, 23 Dec 2004 09:29:31 -0000, Paul McCulloch
<> wrote:
> When you execute an action the name of the action from used is set in a
> request scope attribute "org.apache.struts.action.mapping.instance". It's a
> fairly simple matter to get the actual actionform object if you know the
> scope. For instance, all my forms are session scope so I can get the
> just-used form with:
>                 <c:set scope="page" var="formBean"
> value="${sessionScope[requestScope['org.apache.struts.action.mapping.instanc
> e'].name]}"/>

Thanks, Paul,

This was helpful.  What Donie was looking for was the name of the
*page*, however.  Why Donie wanted this we don't know.  We sort of got
off onto this stuff, which is interesting and your note is very



"You can lead a horse to water but you cannot make it float on its back."

~Dakota Jack~

"You can't wake a person who is pretending to be asleep."

~Native Proverb~

"Each man is good in His sight. It is not necessary for eagles to be crows."

~Hunkesni (Sitting Bull), Hunkpapa Sioux~


"This message may contain confidential and/or privileged information.
If you are not the addressee or authorized to receive this for the
addressee, you must not use, copy, disclose, or take any action based
on this message or any information herein. If you have received this
message in error, please advise the sender immediately by reply e-mail
and delete this message. Thank you for your cooperation."

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message