Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

incrementing view count and update it into database on clicking a link

 
divija sri
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
in my project i have a several links of videos,how should i increment and update the no of views field in the database on clicking the link.
can that be done using jsp???or should i use beans ???please reply i am finding it very difficult
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64683
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
While your question is completely different from this one, the answer is the same. JSP's role stops when the page is displayed in the browser.

In your case, using JavaScript and Ajax is probably to best way to go.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic