Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Enabling Disabling image in jsp.  RSS feed

 
raka oscr
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI,

I have a jsp page, in which i need to load a image1 on a condition(Eg. Status = true) and have to load image2 on another condition(eg. status = false).


How is that possibe. Any Idea? Thanks in advance

-raka
 
Joe Ess
Bartender
Posts: 9436
12
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you unfamiliar with the if tag and else tag?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!