public String getCurrentForwardPath()
    {
        PreviousPageInfo curPageInfo = getCurrentPageInfo();
        String path = null;

        if ( curPageInfo != null )
        {
            ActionForward curForward = curPageInfo.getForward();
            if ( curForward != null )
            {
                if ( curForward.getContextRelative() )
                {
                    path = curForward.getPath();
                }
                else
                {
                    path = getModulePath() + curForward.getPath();
                }
            }
        }
        return path;
    }
public String getCurrentForwardPath ( ) { PreviousPageInfo curPageInfo = getCurrentPageInfo ( ) ; String path = null ; if ( curPageInfo != null ) { ActionForward curForward = curPageInfo . getForward ( ) ; if ( curForward != null ) { if ( curForward . getContextRelative ( ) ) { path = curForward . getPath ( ) ; } else { path = getModulePath ( ) + curForward . getPath ( ) ; } } } return path ; }
Get the webapp-relative URI for the most recent page (in this page flow) shown to the user.
<p>
<i>Note: if the current page flow does not use a
{@link org.apache.beehive.netui.pageflow.annotations.Jpf.Forward &#64;Jpf.Forward},
{@link org.apache.beehive.netui.pageflow.annotations.Jpf.SimpleAction &#64;Jpf.SimpleAction}, or
{@link org.apache.beehive.netui.pageflow.annotations.Jpf.ConditionalForward &#64;Jpf.ConditionalForward}
with <code>navigateTo={@link org.apache.beehive.netui.pageflow.annotations.Jpf.NavigateTo#currentPage currentPage}</code>
or <code>navigateTo={@link org.apache.beehive.netui.pageflow.annotations.Jpf.NavigateTo#previousPage previousPage}</code>,
then this method will always return </i><code>null</code><i> by default.  To enable it in this situation, add the
following method to the page flow:</i><br>
<blockquote>
<code>
protected boolean alwaysTrackPreviousPage()<br>
{<br>
&nbsp;&nbsp;&nbsp;&nbsp;return true;<br>
}<br>
</code>
</blockquote>

@return a String that is the URI path for the most recent page shown to the user.
@see #getPreviousPageInfo
@see #getCurrentPageInfo
@see #getPreviousActionInfo
@see #getPreviousActionURI
@see #getPreviousFormBean
@see #getPreviousForwardPath