I'm not sure I understand your question. If you're asking how you can tell whether an ActionForward is forwarding to another Struts Action or to a
JSP, the answer is pretty simple: Find the path of the ActionForward using the getPath method. If it ends in ".do", it's forwarding to an Action. If it ends in ".jsp", it's forwarding to a JSP.
If you are trying to derive this information from the ActionMapping object, call the findForwards() method to get a
String array of all the local forwards defined. Then call mapping.findForward(x) for each of the Strings retrieved to get the ActionForward object for each of the forward names.