Hi ,
I want to display product prices on JSPs. This is how the prices are displayed:
If the current price of the product is less then the base price then display the base price striked out and the current price in red. Otherwise display the price as normal.
This has to be done on several pages. There is approx 10 lines of code to retreive the base price and the current price of the product, given a productId.
I was thinking of using
JSP tags for this but at the same time I dont have much experience with tags.
Can somebody suggest a solution to this using tags?
Should the tag directly return the html to be displayed (red price & etc..)??
Thanks
Amit