Bookmark Topic Watch Topic
  • New Topic

Back link and sessions

 
Gabriel Palomino
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hello

In my jsp pages there is a 'back' link that goes to the previous page, the think is that the previous page is not static, I mean, a single results page can have diferent back links destinations depending from where you come from.
When there are diferent levels of back
where can I store the back url ?

e.g.

home page -> result page 1 -> comment page -> user page -> result page 2 ->
comment page 2

result page are the same jsp but with diferent back urls, same for comment page.

How can I manage this?

I'm trying with beans in session for each jsp but I don't know if it is a good solution.

Thanks

Gabi.
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please do not post the same question in different forums :
http://www.coderanch.com/t/292421/JSP/java/BACK-link-jsp-pages
 
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!