This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Enabling Disabling image in jsp." Watch "Enabling Disabling image in jsp." New topic
Author

Enabling Disabling image in jsp.

raka oscr
Greenhorn

Joined: Mar 02, 2013
Posts: 25
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

Joined: Oct 29, 2001
Posts: 8839
    
    7

Are you unfamiliar with the if tag and else tag?


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Enabling Disabling image in jsp.
 
Similar Threads
how to load select options using jstl with selected and disabled
Problems with diaplayTag
struts 2 s:if tag
Multiple frames in destination JSP
jsp onload redirection..