2005/9/7, Duane Rosengartner <[EMAIL PROTECTED]>:
> This works very well for me.
> 
>  <a class="button" href="javascript:history.back()">Back</a>

aehm,probabily I didn't explain well my problem: I don't have to get
back to the previous page from the actual. Look at this code:

public class DisplayAboutAction extends Action
{
    public ActionForward execute(ActionMapping actionMapping,
ActionForm actionForm,
            HttpServletRequest httpServletRequest, HttpServletResponse
httpServletResponse)
    {
        // do stuff.....
        ActionForward af = new ActionForward();
        af.setPath(previousPagePath);
        return af;
    }
}

I need to get a value for 'previousPagePath'. 

I'm trying something like :

<bean:page id="reqq" property="request" />
<html:link action="next.do" paramId="old_page" paramName="reqq"
paramProperty="servletPath">

but I'm using Tiles, so what I have as 'old_page' parameter is not the
action 'previous.do' but '/jsplayout.jsp' instead

thanks,

TREMALNAIK

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to