On Thu, 23 Dec 2004 09:29:31 -0000, Paul McCulloch
<[EMAIL PROTECTED]> 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
helpful.

Jack

------------------------------

"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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to