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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Servlets
Reply 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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: moving back and forth from jsp pages through servlet
 
Similar Threads
upon click of back button, go to logout page
To select all checkbox across all pages in an application
refactoring the class
How to refresh a StringBuffer object for creating a HashMap object
controlling asp from applets