aspose file tools*
The moose likes Other Java Products and Servers and the fly likes Trying to implement Recently Viewed links in Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "Trying to implement Recently Viewed links in Java" Watch "Trying to implement Recently Viewed links in Java" New topic
Author

Trying to implement Recently Viewed links in Java

Vicky Jaiswal
Greenhorn

Joined: Jul 03, 2012
Posts: 4
I am working on a project and I am handling the UI part of the application. In the application there are lots of weblinks. I have a requirement in which I have to present a drop down. On clicking the drop down I have to show the last 5 links which were recently accessed in the session. In the project we are using Spring MVC, JSP 2.0, javascript and JQuery.
I am thinking of implementing this by somehow saving the accessing of the links in the session only.

Please let me know how to achieve this requirement in a best possible way.

Thanks in advance!!!
William P O'Sullivan
Ranch Hand

Joined: Mar 28, 2012
Posts: 859

Custom Filter or Interceptor depending on your requirements.

WP
Vicky Jaiswal
Greenhorn

Joined: Jul 03, 2012
Posts: 4
Thanks for a quick reply.

But I didn't get how to implement this functionality with Interceptors or Custom filters. Please elaborate some more on this. Thanks!
Vicky Jaiswal
Greenhorn

Joined: Jul 03, 2012
Posts: 4
Is there anyway to implement this using JQuery? Thanks!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Trying to implement Recently Viewed links in Java