Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

moving back and forth from jsp pages through servlet

 
rammie singh
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

abc
lmn
ghi
pqr
stu
xyz

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
 
Sean Clark
Rancher
Posts: 377
Android Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey,

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.

Sean
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic