In the below mentioned Project I want to retrieve below mentioned forward path marked in Yellow. Is it possible?

I have tried to do this - String af = mapping.getPath();
But this actually returns the below mentioned marked in Yellow.

I tried using mapping.getPath();
But it's actually returning Action path instead of the Forward path.
To get the forward path from the action config you can use Struts API.
ActionMapping::findForward()returns theForwardConfigobject mapped to the action config or a global forward.Now, you can get the forward by name