File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Enabling Disabling image in jsp. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Enabling Disabling image in jsp." Watch "Enabling Disabling image in jsp." New topic

Enabling Disabling image in jsp.

raka oscr

Joined: Mar 02, 2013
Posts: 26

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

Joe Ess

Joined: Oct 29, 2001
Posts: 9167

Are you unfamiliar with the if tag and else tag?

[How To Ask Questions On JavaRanch]
I agree. Here's the link:
subject: Enabling Disabling image in jsp.
It's not a secret anymore!