This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets 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: 8836
    
    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]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Enabling Disabling image in jsp.
 
Similar Threads
struts 2 s:if tag
Multiple frames in destination JSP
jsp onload redirection..
Problems with diaplayTag
how to load select options using jstl with selected and disabled