• Post Reply Bookmark Topic Watch Topic
  • New Topic

to know the name of the previous page  RSS feed

 
Pravin S
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can a jsp/servlet know the page/document from which this page has been navigated.
 
Bosun Bello
Ranch Hand
Posts: 1511
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can either pass it as a parameter from each page or if a liink was clicked you can use the getHeader("referer") to get the refering page.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!