Win a copy of Transfer Learning for Natural Language Processing (MEAP) this week in the Artificial Intelligence and Machine Learning forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Paul Clapham
  • Devaka Cooray
  • Bear Bibeault
Sheriffs:
  • Junilu Lacar
  • Knute Snortum
  • Liutauras Vilda
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Piet Souris
Bartenders:
  • salvin francis
  • Carey Brown
  • Frits Walraven

Trying to implement Recently Viewed links in Java

 
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!!!
 
Ranch Hand
Posts: 859
IBM DB2 Chrome 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!
 
We must storm this mad man's lab and destroy his villanous bomb! Are you with me tiny ad?
Two software engineers solve most of the world's problems in one K&R sized book
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic