aspose file tools*
The moose likes Servlets and the fly likes moving back and forth from jsp pages through servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "moving back and forth from jsp pages through servlet" Watch "moving back and forth from jsp pages through servlet" New topic
Author

moving back and forth from jsp pages through servlet

rammie singh
Ranch Hand

Joined: Mar 26, 2009
Posts: 116
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

Joined: Jul 15, 2009
Posts: 377

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


I love this place!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: moving back and forth from jsp pages through servlet