moving back and forth from jsp pages through servlet
Joined: Mar 26, 2009
Hi evry body..
i have couple of pages in my aplication.....before that a page where i have to make some selection as check boxes.
the order in which i check check boxes...it moves those pages in same order...
but my problem is when i want to come back to previous page from any one of those selected pages ...(which should be in the same reverse order)
say for example
i have option as checkboxes as
now if i select lmn .. then ... pqr..then xyz ..it should goes in same order ...ie. from lmn page to pqr page and then xyz.
now if suppose i click on privious button on page pqr ..it should go back to lmn. or if i click on xyz ..it should go back to pqr.
i don't know how to implement this..can any one help me please.
may be some sample example link...or some suggestions
You could add add the list of pages to some kind of list, save the list into the session and use that as the navigation.
The problem is getting rid of the session variable when you don't need it anymore.