I think this is what you're after:

    ActionMapping targetMapping = getServlet().findMapping("/signIn");
    String formName = targetMapping.getName();

--
Martin Cooper


----- Original Message -----
From: "Matt Raible" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, August 27, 2001 12:05 PM
Subject: Getting formName from an ActionMapping


> In one of my Action classes, is it possible to get a "form" name of
another
> action?
>
> For instance, I want to get "signInForm" and all the information I have is
> "signIn"
>
>       <action
>        path="/signIn"
>        type="foo.bar.SignInAction"
>        name="signInForm"
>        scope="request"
>        validate="false"
>        input="/signIn">
>          <forward
>           name="success"
>           path="/mainMenu" />
>       </action>
>
> __________________________________________________
> Do You Yahoo!?
> Make international calls for as low as $.04/minute with Yahoo! Messenger
> http://phonecard.yahoo.com/
>


Reply via email to