This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JSP Advertisements Tag  RSS feed

Ankit Garg
Posts: 9608
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!

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