• Post Reply Bookmark Topic Watch Topic
  • New Topic

JSP Advertisements Tag

 
Ankit Garg
Sheriff
Posts: 9591
34
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi! I am creating a JSP application. In that I want to put advertisements on every page. For that I want something that help me put advertisements on every page dynamically based on the priority of the advertisement. So if an advertisement has a priority of 10, it must be displayed more times than the one with priority of 1.

What I want to know is how to implement this. Should I use include directive or create a custom tag. Whichever I use, how can I implement the priority functionality. Advertisement's related information will be stored in a database and can be changed i.e. advertisements can be added or deleted. Will I need to add an extra column in the database for this..

Help of any sort will be welcome!

Thanks
Ankit Garg
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!