• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

moving back and forth from jsp pages through servlet

 
Ranch Hand
Posts: 122
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Rancher
Posts: 377
Android Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic