File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes sample code to display last 10 visited pages by user in the application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "sample code to display last 10 visited pages by user in the application " Watch "sample code to display last 10 visited pages by user in the application " New topic
Author

sample code to display last 10 visited pages by user in the application

arjun Pal reddy
Greenhorn

Joined: Apr 30, 2011
Posts: 3
I need to show last 10 user visited pages along with time of visit under recent activity section on my home page. All the pages are JSP's with the use of javascript and Jquery. I found some related examples based on PHP but my need is using the above technologies. Someone suggested use of cookies,sessions, local-storage,history etc. Please someone share some example code on how to do this. Thanks
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61103
    
  66

Use a filter and store the info in the session.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: sample code to display last 10 visited pages by user in the application