• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Trying to implement Recently Viewed links in Java

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!!!
 
Ranch Hand
Posts: 859
IBM DB2 Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is there anyway to implement this using JQuery? Thanks!
 
reply
    Bookmark Topic Watch Topic
  • New Topic