File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 860

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
 
Similar Threads
Session values of a Backing Bean in JSF
Wanted to hide and show the fields at runtime
Performance with cookies
how to create drop down menu ?
drop down like google auto suggest in strut 1.2