Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Trying to implement Recently Viewed links in Java

 
Vicky Jaiswal
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 859
Chrome IBM DB2 Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Custom Filter or Interceptor depending on your requirements.

WP
 
Vicky Jaiswal
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there anyway to implement this using JQuery? Thanks!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic