There is more than one way to do it.
One way to do it on the server side is to track user navigation by storing the (relative) URL of each page view (or some subset of them) as an HttpSession attribute. Then your "back" button could trigger a Struts action that forwards or redirects the user to whichever URL was stored as the session attribute for "last viewed page". Using this strategy has the advantage of allowing you to make sure the user sees valid data (versus using the browser's own back button). It has the disadvantage of programming complexity and probable extra memory consumption (but not necessarily).
Erik
t t wrote:
Hi, all, How to implement a "Back" button or link in the Struts' jsp file? Thanks.
_______________________________ Do you Yahoo!? Declare Yourself - Register online to vote today! http://vote.yahoo.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]