What's the trick for evaluating elements in the history stack?
 
We have a JSP with a [Back] button that needs to be dynamically created, depending on the last page visited. For example:
 
    If last page is a now expired page of a POST to a servlet,
    we want history.back( -2 ). otherwise we want history.back( ).
 
I think we need an enumeration of the history stack -- haven't found such a method...
 
Thoughts?
 
Thanks guys. (Thanks also for the interesting discussion on Jason's new article.)
 
Phil
 

Reply via email to